16.01.2017, 20:19
(
Last edited by JustMe.77; 22/01/2017 at 12:32 AM.
)
Hello & welcome to my first release here.
I'd like to share a simple & small Include with you guys, which might be useful for anyone.
Information
The include detects right away a cheater, once he repaired his vehicle with illegal modifications.
For this case, you've one available Callback in which you can decide what happens with the cheater.
To simplify everything, all necessary Callbacks / Functions have been hooked to provide an include which is just "Plug & Play".
Protected Callbacks / Functions
Credits
Updates
v-1.0.1:
Fixed bug: Timer not getting deleted (my bad)
Fixed bug: Innocent player getting banned if the previous player (cheater) fixed his vehicle to 1000hp and left it with a Søbeit key (Script couldn't reset the HP back to MaxHealth)
Now, everytime you enter a vehicle, it'll check if the Vehiclehealth is above the Maxhealth and set it back to the Maxhealth, if it's the case.
Download
Version 1.0.1 - CLICK ME
End
That's all, leave a comment, feel free to give me your feedback and stay fresh !
I'd like to share a simple & small Include with you guys, which might be useful for anyone.
Information
The include detects right away a cheater, once he repaired his vehicle with illegal modifications.
For this case, you've one available Callback in which you can decide what happens with the cheater.
To simplify everything, all necessary Callbacks / Functions have been hooked to provide an include which is just "Plug & Play".
Protected Callbacks / Functions
- OnPlayerDisconnect
- OnVehicleSpawn
- OnPlayerEnterVehicle
- OnEnterExitModShop
- OnPlayerStateChange
- AddStaticVehicle
- AddStaticVehicleEx
- CreateVehicle
- RepairVehicle
- SetVehicleToRespawn
- SetVehicleHealth
HTML Code:
public OnPlayerVehicleHealthHack(playerid) { return 1; }
Updates
v-1.0.1:
Fixed bug: Timer not getting deleted (my bad)
Fixed bug: Innocent player getting banned if the previous player (cheater) fixed his vehicle to 1000hp and left it with a Søbeit key (Script couldn't reset the HP back to MaxHealth)
Now, everytime you enter a vehicle, it'll check if the Vehiclehealth is above the Maxhealth and set it back to the Maxhealth, if it's the case.
Download
Version 1.0.1 - CLICK ME
End
That's all, leave a comment, feel free to give me your feedback and stay fresh !