This repository was archived by the owner on Apr 29, 2025. It is now read-only.
This repository was archived by the owner on Apr 29, 2025. It is now read-only.
[Bug] onExit not called when using SetPedIntoVehicle #752
Open
Description
Describe the bug
When standing in a zone (tested with a box zone), using SetPedIntoVehicle to teleport inside a vehicle, that is outside of the zone, the onExit function doesn't get called.
To Reproduce
Steps to reproduce the behavior:
- Keep / create a vehicle outside of a zone
- Stand inside a zone
- Use SetPedIntoVehicle to teleport the player to the vehicle
- onExit doesn't trigger
Expected behavior
onExit function should get called, because the player gets teleported outside of the zone.
Version: 3.30.6