21.04.2010, 16:42
Код:
if(!strcmp(cmdtext, "/me", true, 3)) { if(cmdtext[3] == 0) { SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]"); return 1; } new str[128]; GetPlayerName(playerid, str, sizeof(str)); format(str, sizeof(str), " %s %s ", str, cmdtext[4]); SendClientMessageToAll(COLOR_GOLD, str); return 1; }
Use an else after all the commands that are defined...if he types anything else with a slash behind then it shows Server:Unknow Command....i think it does that by defualt

Second : Use ----> [SA-MP WIKI<---- and search for pickup ids.
Hope it Helps
