onPlayerTeleport incorrectly triggers on spawnPlayer
Closed this issue · 2 comments
Xenius97 commented
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.
Xenius97 commented
Misunderstanding, I think I got it wrong.