19.05.2014, 18:03
Instead of sending the DEFAULT error message you can just return 0, and it will send the message accordingly.
Example:
Before:
After:
Example:
Before:
pawn Code:
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "SERVER: Unknown command.");
pawn Code:
if(!IsPlayerAdmin(playerid)) return 0;