When people join the server to keep their previous job.

Hey, what can I do when a player has been to the server to spawn with his job, instead of picking F4 Jobs all over again. Please help, thank you :slight_smile:

On disconnect, save his current job into pdata and on initialspawn set his job to that?

Player:SetPData

Player:GetPData

GM:PlayerInitialSpawn

GM:PlayerDisconnected

edit:
This is also to change the job in DarkRP I guess:
http://wiki.darkrp.com/index.php/Functions/Player/Server/changeTeam

Also, wrong section belongs in Developer Discussion

Yes, that’s what I’m searching!

And btw where do you put the function?

I’m guessing you’d put the hook and corresponding function in the DarkRP modules folder.