02.03.2018, 14:15
(
Последний раз редактировалось StrikerZ; 08.03.2018 в 13:56.
)
Anti Quick-Turn
Код:
The include has been tested for any bugs and so far it's working perfectly. If you find any bug, report it here.
This include is meant to detect player's using quick-turn hack. It has been made sure that the passenger won't be detected as cheater, so don't worry about that.
Mechanism:
When players use quick-turn, the difference between car's old angle and new angle is 90 degree.
Usage:
One callback is provided for this include to give users the full control of this include.
Код:
Only one function: - OnPlayerQuickTurn(playerid, turntype) Turntypes 1 - As a driver 2 - As a passenger
Changelog:
Код:
V1.1 - Added types in the callback. - Added a check if player uses quick turn while being as a passenger. (Type #2)
GitHub
Pastebin
Attachment