[Help] ZCMD before log-in
#3

I know that, but with this I need to put it in all commands...

I tryed this but dont work:

Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
	if(Logged[playerid] == 0) return SM(playerid,"Not Logged");
	return 1;
}
SM is this:

Код:
#define SM(%0,%2) SendClientMessage(%0,0xFFFFFFFF,%2)
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?
Reply


Messages In This Thread
[Help] ZCMD before log-in - by BloodMaster - 05.03.2011, 20:57
Re: [Help] ZCMD before log-in - by Mean - 05.03.2011, 21:02
Re: [Help] ZCMD before log-in - by BloodMaster - 06.03.2011, 08:04
Re: [Help] ZCMD before log-in - by Calgon - 06.03.2011, 08:07
Re: [Help] ZCMD before log-in - by [WF]Demon - 06.03.2011, 08:08
Re: [Help] ZCMD before log-in - by BloodMaster - 06.03.2011, 08:14

Forum Jump:


Users browsing this thread: 1 Guest(s)