Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LostRepairClient = function(args)
- local LostIsland = Vector3(-14091, 688, -14145)
- v = LocalPlayer:GetVehicle()
- if Vector3.Distance(LocalPlayer:GetPosition(), LostIsland) < 3000 and Vector3.Distance(LocalPlayer:GetPosition(), LostIsland) > 1750 and LocalPlayer:InVehicle() == true and v:GetHealth() < 0.3 and v:GetDriver() == LocalPlayer then
- print("Sent request for repair to server")
- Game:FireEvent("f2m06.emp.explode")
- Network:Send("Repair", args)
- end
- end
- Events:Subscribe("PostTick", LostRepairClient)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement