SA-MP Forums Archive
pVar vs Simple Variable - 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: pVar vs Simple Variable (/showthread.php?tid=310287)



pVar vs Simple Variable - NeTuddMeg - 11.01.2012

Which is better?
And why?


Re: pVar vs Simple Variable - Lee_Percox - 11.01.2012

Normal Variables are faster but require resetting OnPlayerDisconnect and use more memory.
pVars are slower but reset themselves.

Normal Variables should be used in most places but there is a thread by Kye / ****** somewhere about good uses of pVar.

http://forum.sa-mp.com/showpost.php?...9&postcount=26


Re: pVar vs Simple Variable - NeTuddMeg - 11.01.2012

After read THIS, I understand.

thanks