06.03.2011, 08:04
I know that, but with this I need to put it in all commands...
I tryed this but dont work:
SM is this:
With this code, If I type nonexistent command will tell: "Not Logged", but if I type existing command, will tell "Not Logged" too but the command will be executed...
Any help?
I tryed this but dont work:
Код:
public OnPlayerCommandReceived(playerid, cmdtext[]) { if(Logged[playerid] == 0) return SM(playerid,"Not Logged"); return 1; }
Код:
#define SM(%0,%2) SendClientMessage(%0,0xFFFFFFFF,%2)
Any help?