[Tutorial] how to enable /stime to dev

all gm command


Code:
    Line 918:         if(strncmp(s_chatMsg, "/nodrop", 6) == NULL)
    Line 932:         if(strncmp(s_chatMsg, "/sp", 6) == NULL)
    Line 940:         if(strncmp(s_chatMsg, "/accept", 6) == NULL)
    Line 959:         if(strncmp(s_chatMsg, "/spawngrave", 6) == NULL)
    Line 967:         if(strncmp(s_chatMsg, "/invite", 6) == NULL)
    Line 984:         if(strncmp(s_chatMsg, "/stime", 6) == NULL)
    Line 1009:     if(strncmp(s_chatMsg, "/ban", 6) == NULL)
    Line 1017:     if(strncmp(s_chatMsg, "/showgroups", 6) == NULL)
    Line 1024:     if(strncmp(s_chatMsg, "/creategroups", 6) == NULL)
    Line 1046:     if(strncmp(s_chatMsg, "/leavegroup", 6) == NULL)
    Line 1063:     if(strncmp(s_chatMsg, "/craft", 6) == NULL)
    Line 1069:     if(strncmp(s_chatMsg, "/dists3", 6) == NULL)
    Line 1101:     /* if(strncmp(s_chatMsg, "/joingroup", 6) == NULL)

    Line 675:         sprintf(cmGoto, "/goto %s ", pName);
    Line 691:         sprintf(cmKick, "/tome %s ", pName);
    Line 707:         sprintf(cmKick, "/kick %s ", pName);
    Line 723:         sprintf(cmBan, "/banp %s ", pName);
 
Not working for me. You did all what you said, then immediately, I Build it in Release them I build at Final.
Did I do something wrong? :3
 
SQL:
-- Add Dev or Admin

USE [WarZ]

GO



DECLARE @CustomerID VARCHAR(100);

DECLARE @USER_cID VARCHAR(50);

DECLARE @Developer VARCHAR(10);



SET @USER_cID = 'youremail'

SET @Developer = 'Yes'; // yes, your are admin



IF @Developer = 'Yes'

BEGIN;

SET @Developer = '1'

END;



IF @Developer = 'No'

BEGIN;

SET @Developer = '0'

END;



SET @CustomerID = (SELECT CustomerID FROM dbo.Accounts WHERE email=@USER_cID)

UPDATE dbo.Accounts SET IsDeveloper=@Developer WHERE email=@USER_cID

UPDATE dbo.UsersData SET IsDeveloper=@Developer WHERE CustomerID=@CustomerID

GO
 
[Hidden content]


ready done this you can now use the /stime to change the time in the game.

/stime [time] [min]

ex: /stime 12 00




Do not forget to thank me =)



Credits: Staff DeathZ
​
ty bruh

its not working here
 
Last edited:
[Hidden content]


ready done this you can now use the /stime to change the time in the game.

/stime [time] [min]

ex: /stime 12 00




Do not forget to thank me =)



Credits: Staff DeathZ
​
 
[Hidden content]


ready done this you can now use the /stime to change the time in the game.

/stime [time] [min]

ex: /stime 12 00




Do not forget to thank me =)



Credits: Staff DeathZ
​
Thank you!!!
 
THX
[Hidden content]


ready done this you can now use the /stime to change the time in the game.

/stime [time] [min]

ex: /stime 12 00




Do not forget to thank me =)



Credits: Staff DeathZ
​
 
[Hidden content]


ready done this you can now use the /stime to change the time in the game.

/stime [time] [min]

ex: /stime 12 00




Do not forget to thank me =)



Credits: Staff DeathZ
​
bd
 
Back