SA-MP Forums Archive
PVar limits? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PVar limits? (/showthread.php?tid=203887)



PVar limits? - Tronix - 28.12.2010

Is there any limit on the pvars? For example, 50 pvars on one player, players are 300 on server. Everything will be fine? Pvars does not disappear?


Re: PVar limits? - Calgon - 28.12.2010

There's a limit of something like 800 PVars per player.

PVars disappear after a player has disconnected but are re-created (but with the values you set) once another player connects.

Using PVars is less efficient than using normal arrays/enums, but they are a lot more convenient.


Re: PVar limits? - Tronix - 28.12.2010

Ok, thanks for the reply. I know how to act pvars. I was worried only about the limit.