Regarding PVars
#1

I've been using them for a while, without any obvious problems, however I have a few questions that have arisen from reading other scripts, and the wiki.

1) I Understand PVars are more memory efficient, but are they slower than normal Arrays?

2) I have noticed some scripters delete them OnPlayerDisconnect, is this nescessary? does doing this conserve resources?

3) I have some PVar manipulation under OnQueryFinish, will this cause problems if a PVar is set / changed for a player that has disconnected? and if not will the PVar be reset when another player joins? ( this question also applies to any accidental PVar manipulation )

4) Are there any issues with setting PVars for NPC's?
Reply


Messages In This Thread
Regarding PVars - by Rachael - 06.12.2010, 02:58
Re: Regarding PVars - by cessil - 06.12.2010, 03:08
Re: Regarding PVars - by bigcomfycouch - 06.12.2010, 03:16

Forum Jump:


Users browsing this thread: 1 Guest(s)