SA-MP Forums Archive
IfIsPlayerAdmin - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: IfIsPlayerAdmin (/showthread.php?tid=109880)



IfIsPlayerAdmin - patchkinson - 22.11.2009

Hey, i have ladmin system, and i would like to change npc_record from IfIsPlayerAdmin to IfIsPlayerLAdmin but it doesnt compile after doing that, cause i want to put it to ban everyone that attempts rcon log in but i wnt npc_record to work for Admins in LADMIN!
thanks!


Re: IfIsPlayerAdmin - AKA_Cross - 22.11.2009

lol, Change

pawn Код:
if(!IsPlayerAdmin(playerid)) return 0;
to


pawn Код:
if(!IsPlayerLAdmin(playerid)) return 0;
And as for the Errors Tell us Them.