save skin and job
#1

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,
Reply
#2

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.
Reply
#3

if easy job, can you start me off with code? i already have the register and login system...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)