Server: Unknown Commands "/"
#10

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
At the top of your OnPlayerCommandText, put this:

pawn Код:
if(IsNull(cmdtext)) return SendClientMessage(playerid, COLOR_YELLOW2, "Error: Unknown command.);
and after your includes put this:

pawn Код:
#define IsNull(%1) \
    ((!(%1[0]))||(((%1[0]) == '\1') && (!(%1[1]))))
I put this
Reply


Messages In This Thread
Server: Unknown Commands "/" - by otiy - 29.04.2012, 18:36
Re: Server: Unknown Commands "/" - by mickos - 29.04.2012, 18:57
Re: Server: Unknown Commands "/" - by sniperwars - 29.04.2012, 19:03
Re: Server: Unknown Commands "/" - by mickos - 29.04.2012, 19:15
Re: Server: Unknown Commands "/" - by Littlehelper - 29.04.2012, 19:23
Re: Server: Unknown Commands "/" - by MP2 - 29.04.2012, 19:37
Re: Server: Unknown Commands "/" - by otiy - 29.04.2012, 19:39
Re: Server: Unknown Commands "/" - by otiy - 29.04.2012, 21:49
Re: Server: Unknown Commands "/" - by SuperViper - 30.04.2012, 04:08
Re: Server: Unknown Commands "/" - by otiy - 30.04.2012, 07:33

Forum Jump:


Users browsing this thread: 5 Guest(s)