setvehicleparamsex
#1

Hi,

Cheats can off setvehicleparamsex, like i off engine or whatever, cheaters happy go still. How to make anti cheat?
Reply
#2

Thats not that easy...

But you can hook the function SetVehicleParamsEx and save this in a var...

Then you check in OnPlayerStateChange..if the Player can enter it..even the vehicle is closed..then you can RemoveItFromVehicle...and start a timer..if the player is then even in a Vehicle..use SetPlayerPos..and after that...use a timer again...then he could be afk or a cheater..so just kick him (It could also be a G-Bug)

...but actually there are anti-cheats for that (i think xD)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)