[Include] OnPlayerTurnUpsideDown
#1

• OnPlayerTurnUpsideDown
I removed my previous thread as I was doing some changes.

This include will call OnPlayerTurnUpsideDown if the player turns upside down through modifications.
• Callback
PHP код:
public OnPlayerTurnUpsideDown(playeridFloat:angle
*Upside Down (https://imgur.com/a/FuXkD) and Random Quats from sandbox will call this callback.
*Parkour mods or any other modification that turns the player upside down will call this callback.
• Demonstration
• What it covers
I was asked before by some people about false-positive cases, these are the only causes that could change the player quaternions without modifications:
  • Entering Vehicles (Covered by the include, no risks).
  • Sky Diving (Impossible for the angle to reach below -85.0 or above 85.0, the callback won't be called, no risks).
  • "Loading..." bug (Angle would be NaN and the callback could be called, but it is covered by the include, so no risks).
• Dependencies.
- Pawn.RakNet: https://sampforum.blast.hk/showthread.php?tid=640306
• Download
- Github
Reply
#2

If a player is car surfing and that car spins in the mid air?
Reply
#3

Quote:
Originally Posted by Ritzy
Посмотреть сообщение
If a player is car surfing and that car spins in the mid air?
Surfing a vehicle can't affect the player rotation quats, even if it spins.
Reply
#4

Good job updating to this now thanks!
can't rep you again gave u too much rep x.x
Reply
#5

Some people gonna hate this include, but I love it! Good job.
Reply
#6

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
Good job updating to this now thanks!
can't rep you again gave u too much rep x.x
Quote:
Originally Posted by KayJ
Посмотреть сообщение
Nice work.
Quote:
Originally Posted by RIDE2DAY
Посмотреть сообщение
Some people gonna hate this include, but I love it! Good job.
Thanks.
Reply
#7

Nice. Could hackers turn upside down other players?
Reply
#8

Quote:
Originally Posted by 2Col
Посмотреть сообщение
Nice. Could hackers turn upside down other players?
If the player is inside a vehicle, then yes, but not on foot.
Reply
#9

I can confirm this is great and has busted many cheaters on my server and with the current version i'm not having any bugs/false positives.
Reply
#10

Impressive job, Jelly23. I expect more releases from you! Tested and it worked precisely!
Reply
#11

Quote:
Originally Posted by RogueDrifter
View Post
I can confirm this is great and has busted many cheaters on my server and with the current version i'm not having any bugs/false positives.
Quote:
Originally Posted by Uberanwar
View Post
Impressive job, Jelly23. I expect more releases from you! Tested and it worked precisely!
Thanks.
Reply
#12

I Tested it with parkour mod but doesn't detect it. :\
Reply
#13

Quote:
Originally Posted by GrandTA
View Post
I Tested it with parkour mod but doesn't detect it. :\
If it doesn't turn you upside down, to the point of affecting player rotation quats and not (only) anims, then it won't work. It was made mainly for sandbox's upside down/random quats feature anyway.
Reply
#14

Quote:
Originally Posted by Jelly23
View Post
If it doesn't turn you upside down, to the point of affecting player rotation quats and not (only) anims, then it won't work. It was made mainly for sandbox's upside down/random quats feature anyway.
some airbreak cheats turn you upside down too, the include works i can verify that, the player just needs to get into the right turn angle.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)