Quote:
Originally Posted by Donny
Good man.
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; }
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.
|
im exactly like that two :]