SA-MP Forums Archive
Reaching an enum variable with 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: Reaching an enum variable with a filterscript? (/showthread.php?tid=307100)



Reaching an enum variable with a filterscript? - Outcast - 29.12.2011

Is that possible?

I have an .amx, without .pwn, and an old version of the .pwn which is a year old. I want to reach to some player variables from my filterscript, but how? Please answer, thank you.


Re: Reaching an enum variable with a filterscript? - Seven_of_Nine - 29.12.2011

Well, better have a try.


Re: Reaching an enum variable with a filterscript? - Sinner - 29.12.2011

You can't. Variables in an enum (and any other variable except pvars for that matter) cannot be accessed outside the filterscript.


Re: Reaching an enum variable with a filterscript? - Outcast - 29.12.2011

So I'll have to make new enums in the Filterscript, and load them from a userfile? Okay, thanks.