set time
#2

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;
}
Reply


Messages In This Thread
set time - by Jhony_Blaze - 17.12.2014, 17:59
Re: set time - by Sawalha - 17.12.2014, 18:03
Re: set time - by Jhony_Blaze - 17.12.2014, 19:34
Re: set time - by Banana_Ghost - 17.12.2014, 19:35
Re: set time - by Jhony_Blaze - 17.12.2014, 19:38

Forum Jump:


Users browsing this thread: 2 Guest(s)