30.04.2012, 04:08
At the top of your OnPlayerCommandText, put this:
and after your includes put this:
pawn Код:
if(IsNull(cmdtext)) return SendClientMessage(playerid, COLOR_YELLOW2, "Error: Unknown command.);
pawn Код:
#define IsNull(%1) \
((!(%1[0]))||(((%1[0]) == '\1') && (!(%1[1]))))

