save skin and job - 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)
+--- Thread: save skin and job (
/showthread.php?tid=348310)
save skin and job -
TheDiscussionCafe - 04.06.2012
hello. i dont know how to make but when player spawn, they will have the last skin before they disconnect. and when player just register, it will set random skin.
also, how can i save job?
i'm using dudb.
dini can work. thanks,
Re: save skin and job -
Sandiel - 04.06.2012
For this, you need a login/registration system for that, that saves your stats (
https://sampforum.blast.hk/showthread.php?tid=267808)
After that, OnPlayerDisconnect, save the player's job and his skin, then OnPlayerConnect, if the account exists, load his job and skin, easy concept.
Re: save skin and job -
TheDiscussionCafe - 04.06.2012
if easy job, can you start me off with code? i already have the register and login system...