Quote:
Originally Posted by ihatetn931
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) if( !strcmp( cmdtext, "/help", true )) { SendClientMessage( playerid, 0xFFFF00FF, "Your text in yellow" ); //add more return true; } return 1; or //return 0; Don't rember which one }
that should fix it.
|
It's "return 1;" because "return 0;" will just always send the 'SERVER: Unknown Command' message!