/settime command
#5

Warning

warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
Код:
   SetPlayerTime(time );
Line:

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


Messages In This Thread
/settime command - by kbalor - 19.08.2012, 09:03
Re: /settime command - by avivelkayam - 19.08.2012, 10:38
Re: /settime command - by NinjaChicken - 19.08.2012, 10:52
Re: /settime command - by avivelkayam - 19.08.2012, 11:28
Re: /settime command - by kbalor - 19.08.2012, 13:18
Re: /settime command - by [MK]Man_Deep - 19.08.2012, 13:19
Re: /settime command - by Cjgogo - 19.08.2012, 13:21
Re: /settime command - by Sandiel - 19.08.2012, 13:36
Re: /settime command - by avivelkayam - 19.08.2012, 14:30
Re: /settime command - by leonardo1434 - 19.08.2012, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)