08.08.2009, 06:04
Hi, I am trying to save skin of my player, I used this:
And then:
I included Dudb and that is the only code i did with it, if it makes any sense.
I get no errors, but when it sets the player skin, It sets it to CJ skin. (ID 0 I think)
So is there a proper way to use this without the DUDB or if someone could tell me how to fix my line, if it isn't correct?
Thanks.
pawn Код:
dUserSetINT(PlayerName(playerid)).("skinplayer",GetPlayerSkin(playerid));
pawn Код:
SetPlayerSkin(playerid,dUserINT(PlayerName(playerid)).("skinplayer"));
I get no errors, but when it sets the player skin, It sets it to CJ skin. (ID 0 I think)
So is there a proper way to use this without the DUDB or if someone could tell me how to fix my line, if it isn't correct?
Thanks.