22.08.2014, 23:58
pawn Код:
command(settime, playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, Azul, #Vocк nгo й um admin);
new time;
if(sscanf(params,"i", time)) return SendClientMessage(playerid, Verde, #Use: /settime <Tempo>);
if (time <= 24 && time >= 0) return SendClientMessage(playerid, Rosa, #Tempo invбlido Minimo 0 Maximo 24);
SetWorldTime(time);
return 1;
}
Код:
if (time <= 24 && time >= 0)