11.11.2011, 18:21
Quote:
Change with this:
Код:
CMD:time( playerid, params[ ] ) { if( isnull( params ) ) return SendClientMessage( playerid, -1, "[ERROR]: Syntax: /Time [0-24]" ); if( strval( params ) > 24 || strval ( params ) < 0 ) return SendClientMessage( playerid, -1, "[ERROR]: 0 - 24" ); SetPlayerTime( playerid, strval( params ), 0 ); return 1; } |