Quote:
Originally Posted by Bates
return 0; after every command, or like this
pawn Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success ) { if( success == 0 ) { } return SendClientMessage( playerid, COLOR, "Your new unknown command text" ); return 0; }
|
This is a terrible example, it will also give a warning/error, you can't return twice!