Skip to content

onPlayerTeleport incorrectly triggers on spawnPlayer #4410

@Xenius97

Description

@Xenius97

Describe the bug

The newly introduced onPlayerTeleport event is currently not working as intended. It also triggers when a player spawns using the spawnPlayer function, even though this should not be considered a teleportation.
This makes the event unreliable, since it cannot currently distinguish between a teleport and a spawn.

Steps to reproduce

https://wiki.multitheftauto.com/wiki/SpawnPlayer

Version

MTA:SA Server v1.6-release-23368

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

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