17.12.2014, 18:03
pawn Код:
CMD:settime(playerid, params[])
{
new time;
if(sscanf(params, "i", time)) return SendClientMessage(playerid, -1 , "ERROR: use /settime [Hour]");
if(time > 23 || time < 0) return SendClientMessage(playerid, -1, "ERROR: must be more than 0 and less than 24");
SetWorldTime(time);
return 1;
}