You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a player has a jetpack and presses KEY_SECONDARY_ATTACK, they exit the jetpack, and it spawns next to them. To prevent this in SA:MP the following solution could be used: https://sampforum.blast.hk/showthread.php?tid=507891.
This no longer works because OnPlayerKeyStateChange() is called after the player exits the jetpack, making it impossible to prevent the exit. The same issue occurs when the check is performed in OnPlayerUpdate(), as the jetpack still spawns next to the player.
Describe the bug
If a player has a jetpack and presses KEY_SECONDARY_ATTACK, they exit the jetpack, and it spawns next to them. To prevent this in SA:MP the following solution could be used: https://sampforum.blast.hk/showthread.php?tid=507891.
This no longer works because OnPlayerKeyStateChange() is called after the player exits the jetpack, making it impossible to prevent the exit. The same issue occurs when the check is performed in OnPlayerUpdate(), as the jetpack still spawns next to the player.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It would be good to have any chance to block the jetpack spawn next to the player.
Screenshots and/or logs
Release version
1.4.0.2783
The text was updated successfully, but these errors were encountered: