Whats wrong?
#2

If a player is none of the above, then they cannot use the command so simply:
PHP код:
if(!IsACop(playerid) && !IsAnAgent(playerid) && !IsASoldier(playerid))
{
    return 
SendClientMessage(playerid,COLOR_GREY,"   You are not a member of the LSPD / SASD / DoC !");

Reply


Messages In This Thread
Whats wrong? - by Tuntun - 31.03.2015, 16:58
Re: Whats wrong? - by Konstantinos - 31.03.2015, 17:00
Re: Whats wrong? - by Sergei - 31.03.2015, 17:01
Re: Whats wrong? - by Tuntun - 31.03.2015, 17:04

Forum Jump:


Users browsing this thread: 3 Guest(s)