02.06.2016, 08:54
Maybe something like this
. cmd_id is unique command ID(like dialogid for dialogs). And then
Code:
CMD:command(playerid, params[], cmd_id)
Code:
public OnPlayerReceivedCommand(playerid, cmd_id, params[], bool:exists) { switch(cmd_id) { // CODE GOES HERE } }