Setting players money / skin / level to 0 upon registering.
#2

I'm also a newbie, but I'll try and help.

What have you defined as your default values for each of the cells, Skin, Money and Score?
I am thinking that when they register, they get set to the default value, and you call the default value with:

GivePlayerMoney(playerid, PlayerInfo[playerid][curmoney]);
SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]);
SetPlayerScore(playerid, PlayerInfo[playerid][playerlvl]);

So yeh.. Try changing the default value on the phpmyadmin.
Reply


Messages In This Thread
Setting players money / skin / level to 0 upon registering. - by Brandon_More - 17.11.2013, 20:54
Re: Setting players money / skin / level to 0 upon registering. - by StuartD - 17.11.2013, 21:00
Re: Setting players money / skin / level to 0 upon registering. - by Brandon_More - 17.11.2013, 21:06
Re: Setting players money / skin / level to 0 upon registering. - by DeStunter - 17.11.2013, 21:25

Forum Jump:


Users browsing this thread: 2 Guest(s)