12.01.2011, 18:59
Hey guys, for some reason, when my character gets spawned, his skin automatically gets set to 0.
On my database it shows:
But, when i actually set the skin it goes back to 0
Skin loading:
Any thoughts on problem and how to fix? Thanks in advance.
-Anthony
On my database it shows:
pawn Код:
Name Password Admin Money ppos_x ppos_y ppos_z Gender Level Skin
Abreezyy censored 0 0 -1969.48 130.9289 27.68750 1 0 29
pawn Код:
SetPlayerSkin(playerid, UserStats[playerid][Skin]);
pawn Код:
if(mysql_fetch_row(str))
{
sscanf(str, "p<|>e<s[24]s[50]ddfffddd>", UserStats[playerid]);
}
mysql_free_result();
-Anthony