11.12.2011, 05:02
Am I better of using these PVar functions or should I be using arrays?
In the case of keeping track of a players cash. Which should I do?
Or
What are the advantages and disadvantages of each? Which is faster?
I'll Rep+ anyone who can give me some useful information.
In the case of keeping track of a players cash. Which should I do?
pawn Код:
SetPVarInt(playerid,"pCash",100);
pawn Код:
new pCash[MAX_PLAYERS];
// In a callback...
pCash[playerid] = 100;
I'll Rep+ anyone who can give me some useful information.