Code:
local resuplyDefault = 120
local resupply = {}
resupply["Fire_Engine"] = {type = "fire", msg = "takes out full canisters of flame-retardant foam from the engine's lockers.", delay = 60}
resupply["fire_engine"] = {type = "fire", msg = "takes out full canisters of flame-retardant foam from the engine's lockers.", delay = 60}
resupply["fire_ladder"] = {type = "fire", msg = "grabs a fire extinguisher from the truck's locker.", delay = 90}
resupply["fire_heavy"] = {type = "rescue", msg = "pulls out rescue supplies from the engine's lockers.", delay = 60}
resupply["fire_sub"] = {type = "fire", msg = "grabs a fire extinguisher from the Suburban's locker."}
resupply["fire_crownvic"] = {type = "fire", msg = "grabs a fire extinguisher from the Crown Victoria's locker."}
resupply["ambulance_e350"] = {type = "ems", msg = "takes out a small box of medical supplies from the back of the Tahoe."}
resupply["Ambulance"] = {type = "ems", msg = "grabs medical supplies and chemical compounds from the ambulance."}
resupply["sgm_g5500ambu"] = {type = "ems", msg = "removes a small medical kit from the morgue van."}
resupply["police_tahoe"] = {type = "police", msg = "grabs additional equipment from the Tahoe.", delay = 60}
resupply["2011_crownvic_cop"] = {type = "police", msg = "resupplies from the locker in the Crown Vic."}
resupply["fpiu_2016"] = {type = "police", msg = "resupplies from the FPIU's locker."}
resupply["Policecar"] = {type = "police", msg = "resupplies from the Taurus' arms locker."}
resupply["police_charger"] = {type = "police", msg = "pulls out some supplies chucked in the boot of the interceptor.", delay = 180}
resupply["swatvan"] = {type = "police", msg = "grabs extra equipment from the SWAT Van.", delay = 30}
resupply["ss_sub"] = {type = "ss", msg = "grabs Secret Service equipment from the vehicle's arms locker."}
resupply["locker_fire"] = {type = "fire", msg = "takes out flame-retardant foam tanks from the locker.", delay = 30}
resupply["locker_medic"] = {type = "ems", msg = "takes out advanced medical kits, vials of chemicals and other supplies from the locker.", delay = 30}
resupply["locker_rescue"] = {type = "rescue", msg = "grabs rescue supplies from the locker.", delay = 30}
resupply["locker_police"] = {type = "police", msg = "resupplies from the arms locker.", delay = 30}
resupply["locker_ss"] = {type = "ss", msg = "grabs Secret Service equipment from the locker.", delay = 30}