SA-MP Forums Archive
Storing a admin level to a Filterscript - 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: Storing a admin level to a Filterscript (/showthread.php?tid=375309)



Storing a admin level to a Filterscript - Deal-or-die - 06.09.2012

G'day,
I was just wondering how I can get the players adminlevel and save it in the filterscript such as an enum or something.

Cheers.


Re: Storing a admin level to a Filterscript - Admigo - 06.09.2012

Maybe use a admin filterscript and there u can paste the code out it.


Re: Storing a admin level to a Filterscript - Deal-or-die - 06.09.2012

-.^

Getting an admin filterscript to use as an example wouldn't work as it would create the admin variable and store it all in the filterscript, which is not what I am trying to do :P

already have

'PlayerInfo[playerid][pAdmin]' for example
and I want to use that in a filterscript
so I'll have to get that from the GM,
Presumably VIA 'CallRemoteFunction' I'm just not a wiz at using that.


Edit: Alright cheers ****** I'll look into it.