SA-MP Forums Archive
Would this work if I added it onto commands? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Would this work if I added it onto commands? (/showthread.php?tid=369657)



Would this work if I added it onto commands? - xSiiLenTx - 17.08.2012

Код:
if(!IsACop(playerid)) && if(!IsASher(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an SAPD/SASD Officer.");
Would it work if I added it on to my SAPD commands e.g. /arrest? It's originally

Код:
if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an SAPD Officer.");



Re: Would this work if I added it onto commands? - SuperViper - 17.08.2012

pawn Код:
if(!IsACop(playerid)) && !IsASher(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an SAPD/SASD Officer.");



Re: Would this work if I added it onto commands? - xSiiLenTx - 17.08.2012

What about this?:
Код:
if(IsACop(Shooter)) && if(IsASher(Shooter))
Can you help me on Teamviewer?