SA-MP Forums Archive
What's the difference between SetPVar or a normal 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: What's the difference between SetPVar or a normal variable? (/showthread.php?tid=415557)



What's the difference between SetPVar or a normal variable? - PaulDinam - 13.02.2013

What's the difference between SetPVar or a normal variable?


What is better to use and why?


Re: What's the difference between SetPVar or a normal variable? - MP2 - 13.02.2013

They both have advantages and disadvantages. It really does depend on the situation. Just never use pVars in OnPlayerUpdate.

https://sampforum.blast.hk/showthread.php?tid=268499