25.07.2012, 13:57
So if you want to show "Server: That command doesn't exist. For list of commands /commands"
I think this might work
Код:
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.");;