11.11.2015, 00:11
i've made that if the player types in an invalid command , that code does its function
yes it does show when a player types an invalid cmd but it also shows up when a player types a valid one
any help ?
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) { SendClientMessage(playerid,COL_GREEN,"ERROR: Invalid command! Check /CMDS for the commands list"); } return 1; }
any help ?