SA-MP Forums Archive
Question about freeze skin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question about freeze skin (/showthread.php?tid=119552)



Question about freeze skin - Lajko1 - 08.01.2010

Hello,I just want to ask how i can make when player spawn it will go his skin in data base ... - i already made this but i want when player disconect and come back in CLASS selection he cant choose other skin just that one he spawn first time - like in crazy bob server and most other server i try help myself with Criminal GM but i faild and now i ask for help here

ty for any help


Re: Question about freeze skin - Ironboy500 - 08.01.2010

Save to file using dini and dudb.


Re: Question about freeze skin - Lajko1 - 08.01.2010

I am using dudb i try that

OnPlayerSpawn

Код:
dUserSetINT(PlayerName(playerid)).("skin",GetPlayerSkin(playerid));
and under on OnPlayerRequestClass

Код:
SetPlayerSkin(playerid, dUserINT(PlayerName(playerid)).("Skin"));
It was saving my skin before I add
the code under OnPlayerReqestClass,but now when i conenct to my game ...come to my class selection there is just CJ skin... and i dont see my skins ... i think i need to make veriables or what ever they are or something like this but i dont know how to make this things to work...

sry for my bad english

Ty For Any Help!




Re: Question about freeze skin - Lajko1 - 09.01.2010

uf anyone ?


Re: Question about freeze skin - Lajko1 - 09.01.2010

someone please ?