21.02.2013, 20:59
Basically, whenever I try to set the server time, it quickly changes and doesn't save. It will change for a second and instantly go back. Iv'e tried multiple times to fix the issue but cant seem to come up with it. If anyone can help me please comment below, if you could help any other way , my skype is : tom.repalone
Код:
CMD:tod(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 1337) { new string[128], time; if(sscanf(params, "d", time)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /tod [time] (0-23)"); SetWorldTime(time); gTime = time; format(string, sizeof(string), "Time set to %d:00.", time); BroadCast(COLOR_GRAD1, string); } else { SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!"); } return 1; }