How do I reproduce repair kit?
That would all depend on the server you choose to play on… Welcome, btw.
1 Like
welcome! @Indominus pretty much gave u the answer
1 Like
^^
(20 character limit)
Thank you! I am playing on Finnish language server, and I am just a beginner. I would like to learn how to make repair kit for damaged cars, and trying to sell repair kit to citizens. Tell me the method if you guys know how to make them. Thanks for your help. Cheers!
PS. I play on ESX_mode servers.
SetVehicleEngineOn(veh,false,true,false)
SetPedAllowVehiclesOverride(ped,false)
SetVehicleDoorsLocked(veh,4)
if GetVehiclePedIsIn(PlayerPedId(),false) and PlayerPedId() == ped then
SetEntityHealth(veh,1000.0)
SetVehicleEngineHealth(veh,1000.0)
SetVehiclePetrolTankHealth(veh,1000.0)
SetVehicleDoorsLocked(veh,0)
SetPedAllowVehiclesOverride(PlayerPedId(),true)
SetVehicleEngineOn(veh,true,true,false)
else
SetVehicleDoorsLocked(veh,0)
SetPedAllowVehiclesOverride(PlayerPedId(),true)
SetVehicleEngineOn(veh,true,true,false)
end
or so
Thank you Bluethefurry,
And where to should I put this script? And is there possible if mechanic makes repair kits?