Posts: 404
Threads: 104
Joined: Sep 2008
Reputation:
0
Let's say that i declared a variable named 'Candy' in my gamemode, and let's say i created a filterscript that has to use the 'Candy' variable.
How to read/write values to that variable throw my filterscript?
Thanks.
Posts: 3,793
Threads: 196
Joined: Jan 2010
Reputation:
0
PVars and GVar can be used, however they're memory consumers.
Posts: 404
Threads: 104
Joined: Sep 2008
Reputation:
0
I know about PVar's and GVar's but the problem is my old gamemode doesn't use those (it uses regular variables) and i can't recompile because i don't have the .pwn for it. So is there a way i can read/write to those regular variables?
Can i do it with setproperty/getproperty Vince mentioned? If yes, can i have an example please?
Thanks.
Max_Coldheart
Unregistered
Quote:
Originally Posted by Lorenc_
however they're memory consumers.
|
Ofcourse PVars are memory consumers, they are cross script variables, so they eat more memory.
Have a nice day !