What is the usage of this
#5

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.
Reply


Messages In This Thread
What is the usage of this - by BrianS123 - 25.08.2016, 13:43
Re: What is the usage of this - by WhiteGhost - 25.08.2016, 13:45
Re: What is the usage of this - by oMa37 - 25.08.2016, 13:47
Re: What is the usage of this - by DarkSkull - 25.08.2016, 13:50
Re: What is the usage of this - by Kwarde - 26.08.2016, 01:06
Re: What is the usage of this - by Gammix - 26.08.2016, 04:14
Re: What is the usage of this - by Sew_Sumi - 26.08.2016, 04:27
Re: What is the usage of this - by Kwarde - 26.08.2016, 12:10
Re: What is the usage of this - by Sew_Sumi - 26.08.2016, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)