I want that if players change their jobs their cars should despawn. Or just for some jobs. Somehow its working for mayor without me doing anything but other jobs dont despawn their cars when changing job.
Tried this
24 Sep 2013joined
0threads
0posts
Fortune11709
for k, v inpairs( ents.GetAll() ) doif v:IsValid() and v:GetClass == "carclass"and v:GetOwner() == playermeta then
v:Remove()
endend
Doesnt seem to work for me
Sorry, you need to Log In to post a reply to this thread.