How I can use the command /stime?
I tried putting in various forms and was unable to change the time. :/
Printable View
How I can use the command /stime?
I tried putting in various forms and was unable to change the time. :/
Tipe /stime 12 00
12 ( hrs ) 00 ( min.)
Simple :)
are you sure you made yourself dev in game
Yes, I am dev.
then you didnt add the code in
You ta using the source of the DNC? with the Update?
I think it will only work only in the commanding Studio.exe
I'm using DNC release.
Make sure you are dev in both dbo.Accounts and dbo.UsersData
It only works in the Client as a Dev
Coded to work in Final build of the WarZ.sln files.
#ifndef FINAL_BUILD
if(strncmp(s_chatMsg, "/stime", 6) == NULL)
{
char buf[256];
int hour, min;
if(3 != sscanf(s_chatMsg, "%s %d %d", buf, &hour, &min))
{
addChatMessage(0, "<system>", "/stime {hour} {min}", 0);
return;
}
So, I need to compile in Final build only, if I want use /stime?
Generally I compile in first in Final build and after in Release build, as shows on your Video tutorial in your release post.
--------------------
EDIT:
I have compiled the WarZ.sln in Final build now, but, /stime yet not works. :/
Final = Client
Release = Studio
You can run /stime in Client not Studio, only if your account and that character are BOTH set to isDeveloper = 1
DNC u are wrong. /stime only works on STUDIO not on Client.
Because:
#ifndef FINAL_BUILD <-- if not defined FINAL BUILD = Studio
Final Build is client