Pivity

Dark RP Job question

Last read Never
#1

Hello,


Not sure if this possible but looking to set up a way for when the player disconnects it will automatically set them to last job they were on when they re join.


#2

even if the server restarts or just whilsts its running

#3

Made it for you

https://jamiez.co.uk/paige/Garrys%20Mod/Addons%20Created!/DTP%20DarkRP%20Team%20Persistence


i also pasted all the code in plain text incase you didnt want to download a zip

Friendly x 1
#4

Stores all job changes into a sql so it can remember even after a server restart

it will replace the record if you job change and not make a new one it does bypass the check though so if a user gets added into a job and joins back it will let them bypass but you will have to get someone to fix that for you

#5

i actually fixed that by changed the value to false4 so it doesn't bypass


any ways ill let this rest now

Users viewing this thread
Nobody