Quote:
Originally Posted by Jeffry
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new Text[100]; format(Text, sizeof Text,"[Error] Command /%s don't exist!", cmdtext); /*Your commands here here... here... blah blah*/
return SendClientMessage(playerid, COLOR_ERROR, Text); }
Should work then.
EDIT: MyLife was a bit faster. 
|
Won't that just format the string every time, regardless on whether or not it's wrong?