fivem icon indicating copy to clipboard operation
fivem copied to clipboard

Deleting Active MP Player Peds

Open ItsDevTomFutureRoleplay opened this issue 6 months ago • 2 comments

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.

ItsDevTomFutureRoleplay avatar May 10 '26 23:05 ItsDevTomFutureRoleplay

Try setr game_enableVehicleHijackFix true; it might also fix this issue

divocbn avatar May 10 '26 23:05 divocbn

Try setr game_enableVehicleHijackFix true; it might also fix this issue

We tried this does not fix it.

ItsDevTomFutureRoleplay avatar May 10 '26 23:05 ItsDevTomFutureRoleplay