SA-MP Forums Archive
[HELP]/time - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]/time (/showthread.php?tid=531725)



[HELP]/time - goldenpower - 14.08.2014

how to make /time 0-24


Re: [HELP]/time - Simoer - 14.08.2014

If ya' want make it for Admins, Give us your admin Varriable..


Re: [HELP]/time - NewbieTester - 14.08.2014

Quote:

If ya' want make it for Admins, Give us your admin Varriable..

No Need for Admin Variables


Re: [HELP]/time - Simoer - 14.08.2014

What's i understand from him he want create
Settime. /time [0-24].


Re: [HELP]/time - IceBilizard - 14.08.2014

pawn Код:
CMD:time( playerid, params[ ] )
{
    new stime;
    if( sscanf( params, "i", stime ) ) return SendClientMessage( playerid, -1, "Usage: /time <0-24>" );
    if( time > 24 || time < 0 ) return SendClientMessage( playerid, -1, "Available Hours: 0-24" );
    SetPlayerTime(playerid,stime,0);
    return 1;
}