23.02.2013, 16:23
Hi. I've got bunch of commands. I won't start every simple command with "SendClientMessage - you're not an admin!".
I would like to make global if in OnPlayerCommandReceived.
Should I do something like this..:
or what?
Regards.
I would like to make global if in OnPlayerCommandReceived.
Should I do something like this..:
Код:
if(CallRemoteFunction("adminspec", "", false) || CallRemoteFunction("adminspawn", "", false)) return SendClientMessage(playerid,0,"You're not an admin"), 1;
Regards.