LuxAdmin with JunkBuster - 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: LuxAdmin with JunkBuster (
/showthread.php?tid=283108)
LuxAdmin with JunkBuster -
OleKristian95 - 13.09.2011
Does anyone know how I can make my admins immune from JunkBuster?
Re: LuxAdmin with JunkBuster -
|_ⒾⓇⓄN_ⒹⓄG_| - 14.09.2011
something like
pawn Код:
if(!IsPlayerLuxAdmin(playerid)) // to ban/kick only non-admins
Re: LuxAdmin with JunkBuster - Double-O-Seven - 14.09.2011
Download newest JunkBuster, use #include <JunkBuster_Slim>
and add this somewhere in your LuxAdmin script:
pawn Код:
public IsPlayerAdminCall (playerid)
return (AccInfo[playerid][LoggedIn] && AccInfo[playerid][Level] >= 1);
Re: LuxAdmin with JunkBuster -
[GOD]Dragonster82 - 16.09.2011
I don't understand what it means by >= 1, does it means that level 1 admin doesn't have immunity?
Re: LuxAdmin with JunkBuster -
OleKristian95 - 16.09.2011
Quote:
Originally Posted by [GOD]Dragonster82
I don't understand what it means by >= 1, does it means that level 1 admin doesn't have immunity?
|
>=1 = level 1 and all higher levels are immune