15.09.2009, 00:46
Good man.
Would be better like this though IMO:
I like coding for false, it makes your code smaller so it takes like lines and is easier to debug as there is less of it etc but that's just my style, each to their own.
Would be better like this though IMO:
pawn Код:
if ( !strcmp( cmdtext, COMMAND, true, LENGTH ) )
{
if ( GetPlayeMoney( playerid ) < 800 ) ) return SendClientMessage(playerid,COLOR_RED,"You Need At Least $800");
//success code goes here
return 1;
}