Quote:
Originally Posted by PaulDinam
Well, look up for your current /tod command and place this simple one:
pawn Код:
CMD:tod(playerid, params[]) { new string[128], time; if(!IsPlayerAdmin(playerid)) return 1; if(sscanf(params, "d", time)) return SyntaxMSG(playerid, "/tod [time] (0-23)"); SetWorldTime(time); format(string, sizeof(string), "Time set to %d:00.", time); SendClientMessageToAll(-1, string); return 1; }
|
Looks similar to mine but ill try it.