Linking JunkBuster to my AdminSystem - 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: Linking JunkBuster to my AdminSystem (
/showthread.php?tid=367981)
Linking JunkBuster to my AdminSystem -
SumX - 11.08.2012
Hello! How can I link my AdminSystem with the JunkBuster 11?
I use
Код:
SetPVarInt(playerid,"AdminLevel",level)
to set the admin level and
Код:
GetPVarInt(playerid,"AdminLevel"
to get the admin level.
I have to link the AdminSystem to the JunkBuster like this?
Код:
public IsPlayerAdminCall(playerid)
{
if(GetPVarInt(playerid,"AdminLevel") >= 1)
return 1;
else
return 0;
}