Skip to content
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
@FilipBukvic

Description

@FilipBukvic

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:

  1. Keep / create a vehicle outside of a zone
  2. Stand inside a zone
  3. Use SetPedIntoVehicle to teleport the player to the vehicle
  4. onExit doesn't trigger

Expected behavior
onExit function should get called, because the player gets teleported outside of the zone.

Version: 3.30.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions