Deleting Active MP Player Peds
What happened?
Cheaters are using DeleteEntity(ped) on a active mp player, they loop with Wait(0). Its a method to get inside vehicles and force the driver out of the vehicle, becouse there client thinks there is no one there.
Expected result
Maybe dont allow DeleteEntity on a active mp player, i cant seem to think why you would want that.
Reproduction steps
DeleteEntity(ped) on a active playerped with a loop of Wait(0) will do it. Get the ped from: GetPedInVehicleSeat(targetVeh, seat)
Importancy
Unknown
Area(s)
FiveM
Specific version(s)
FiveM all versions
Additional information
Theres no other fix/prevent this with lua code as far as i know, thats why i hope you can fix this bug.
Try setr game_enableVehicleHijackFix true; it might also fix this issue
Try
setr game_enableVehicleHijackFix true; it might also fix this issue
We tried this does not fix it.