SA-MP Forums Archive
Little Question Here. - 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: Little Question Here. (/showthread.php?tid=277141)



Little Question Here. - Alex_Obando - 16.08.2011

In my gamemode, Its the admin System,

But I made a new one, But I'm trying to add this:

if (adminlevel[playerid] > 2)

Because that is on my gamemode,

how i can put it on my filterscript?
CallRemoteFunction?
SetPVars?

Please give me an example.
Thanks


Re: Little Question Here. - Shockey HD - 16.08.2011

So im thinking that you want to use a function,

if (adminlevel[playerid] > 2)

in your filterscript, also in your gamemode. If so,

You can store another Enumeration, but i don't see why you would do that.

You can do this in Lux Administration because he did make his own #include for this. I think you should try to make your own too ^.^


Re: Little Question Here. - Johnson_boy - 16.08.2011

Use PVars if you wish to access them from gamemode and filterscripts.