Death Takes Everything

#1

Hi, is there a way so that if a person dies he loses everthing ?

I remember when i playd Fivem a while back that if you die you would lose your items in your inventor and also your License .

I wanted so that if a person died in my server he loses is items ( food , cash , weapons , drugs ,etc) and also is License ( Driver , gun license) .

#2

Are you using any resource for death?

#4
Config.RemoveWeaponsAfterRPDeath  = true
Config.RemoveCashAfterRPDeath     = true
Config.RemoveItemsAfterRPDeath    = true
#6

i would say ambulance job

#7

but does it remove the license ?

#8

Looks like there isn’t anything in esx_ambulancejob to remove licenses, you might have to add those lines of code yourself

#9

ho :open_mouth: will try :blush: