26.08.2016, 01:06
Indeed. It is a function to store information to a player. It's an alternative for normal variables.
SetPVarInt(playerid, "Money", 500);
Would be the same as:
new Money[MAX_PLAYERS];
Money[playerid] = 500;
A plus of PVars is that it is global; you can call these variables inside other scripts aswell. They only use alot of memory and I really dis-encourage you to use them.
SetPVarInt(playerid, "Money", 500);
Would be the same as:
new Money[MAX_PLAYERS];
Money[playerid] = 500;
A plus of PVars is that it is global; you can call these variables inside other scripts aswell. They only use alot of memory and I really dis-encourage you to use them.