25.07.2012, 13:59
Quote:
I think I don't understand your problem completely. So you have this /std command and if you delete it temporally, then the stuff with the commands works?
|
I can't use that command in game, but other commands I can.
Also, if I rename /std to /abc, I am able to use command /abc.
Quote:
So if you want to show "Server: That command doesn't exist. For list of commands /commands"
Код:
if(!strcmp(cmdtext,"/std",true,4) && !cmdtext[4]) { CancelSelectTextDraw(playerid); SelectTextDraw(playerid, COLOR_YELLOW); return 1; } if(!strcmp(cmdtext,"/selecttextdraw",true,15) && !cmdtext[15] ) { CancelSelectTextDraw(playerid); SelectTextDraw(playerid, COLOR_YELLOW); return 1; } return SendClientMessage(playerid,COLOR_GREEN2,"Server: That command doesn't exist. For list of commands /commands.");; |