Skin keeps resetting to 0, as does other stuff.
#2

You should load the skin as a variable.

pawn Код:
new PlayerSkin[MAX_PLAYERS];
Put this code in your login script:

pawn Код:
PlayerSkin[playerid] = MySQL_GetValue(PlayerSQLID[playerid], "Skin", "accounts");
And then under OnPlayerSpawn:

pawn Код:
SetPlayerSkin(playerid, PlayerSkin[playerid]);
Reply


Messages In This Thread
Skin keeps resetting to 0, as does other stuff. - by Dokins - 12.08.2013, 16:21
Re: Skin keeps resetting to 0, as does other stuff. - by Emmet_ - 12.08.2013, 17:59
Re: Skin keeps resetting to 0, as does other stuff. - by Dokins - 12.08.2013, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)