ZCMD Command
#7

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
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;
}
Yes, I saw it after trying to fix it and I saw that you noticed it first.
Reply


Messages In This Thread
ZCMD Command - by Kostas' - 11.11.2011, 17:48
Re: ZCMD Command - by SmiT - 11.11.2011, 17:51
Re: ZCMD Command - by Kostas' - 11.11.2011, 17:56
Re: ZCMD Command - by SmiT - 11.11.2011, 17:59
Re: ZCMD Command - by Kostas' - 11.11.2011, 18:08
Re: ZCMD Command - by IstuntmanI - 11.11.2011, 18:19
Re: ZCMD Command - by Kostas' - 11.11.2011, 18:21
Re: ZCMD Command - by Rudo2 - 11.11.2011, 18:23
Re: ZCMD Command - by Kostas' - 11.11.2011, 18:28

Forum Jump:


Users browsing this thread: 1 Guest(s)