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
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:
Expected behavior
onExit function should get called, because the player gets teleported outside of the zone.
Version: 3.30.6