SA-MP Forums Archive
filescripts - 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: filescripts (/showthread.php?tid=477409)



filescripts - detter - 23.11.2013

Is there a way to share variables from includes between two filescripts and gamemode without having to save to file and load it

for example

i have player age and i in test1.pwn set its value to 20 ,and than i read it from test2.pwn and i get 20


Re: filescripts - -Prodigy- - 23.11.2013

I would recommend you look into the GVar plugin: https://sampforum.blast.hk/showthread.php?tid=151076

If you don't want plugins, check into PVars: https://sampwiki.blast.hk/wiki/Per-player_variable_system
or even check: Properties


Re: filescripts - SeniorGamer - 23.11.2013

You mean like informations inside few filterscripts etc? use Y hooks


Re: filescripts - detter - 24.11.2013

thanks prodigy