Posts: 31
Threads: 12
Joined: Jan 2011
Reputation:
0
What is difference between using SetPVarInt and variable[MAX_PLAYERS]? What is better and which one should I use?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
That has all been explained multiple times, please search a little. Calling a function is slower than accessing a variable. Only use PVars for cross script sharing or in cases where an array would be overkill (for example passing a value to the next dialog).