Help.
#5

Do you reset the variables on OnPlayerConnect?
pawn Код:
// OnPlayerConnect

PlayerInfo[playerid][pLevel] = 0;
PlayerInfo[playerid][pCash] = 0;
// all..
The data will then be loaded from INI_ParseFile function (main loading of the player file) and put the values into your variables. The same happened with my gamemode, it was fixed by resetting.
Reply


Messages In This Thread
Fixed. - by Edw - 13.06.2014, 20:49
Re: Help. - by BossArturKA - 13.06.2014, 21:05
Re: Help. - by Edw - 13.06.2014, 21:11
Re: Help. - by Edw - 14.06.2014, 12:57
Re: Help. - by SyntaxQ - 14.06.2014, 14:18

Forum Jump:


Users browsing this thread: 2 Guest(s)