anti vehicle repair
#1

Hi,

I want to ask. How to create a protect from vehicle repairing? i mean cheater press F1 of F2 and vehicle get fixed?
Reply
#2

Hi, @Audriuxxx

script link ( pastebin ): http://pastebin.com/YQbzr9WN.
Filterscript link: https://sampforum.blast.hk/showthread.php?tid=335007
Reply
#3

Whenever a vehicle gets damaged or repaired by your script, you can store the damage-status in an enum using GetVehicleDamageStatus.

You can use a timer (or possibly OnVehicleDamageStatusUpdate callback) to set the damage back to whatever is stored.
The hacker would not be able to keep his vehicle repaired as the timer or callback will reset his hacks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)