[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


Messages In This Thread
OnPlayerTurnUpsideDown - by Jelly23 - 12.01.2018, 21:56
Re: OnPlayerTurnUpsideDown - by Ritzy2K - 12.01.2018, 22:11
Re: OnPlayerTurnUpsideDown - by Jelly23 - 12.01.2018, 22:12
Re: OnPlayerTurnUpsideDown - by RogueDrifter - 12.01.2018, 23:37
Re: OnPlayerTurnUpsideDown - by RIDE2DAY - 17.01.2018, 12:40
Re: OnPlayerTurnUpsideDown - by Jelly23 - 22.01.2018, 06:23
Re: OnPlayerTurnUpsideDown - by 2Col - 02.02.2018, 19:03
Re: OnPlayerTurnUpsideDown - by Jelly23 - 02.02.2018, 20:28
Re: OnPlayerTurnUpsideDown - by RogueDrifter - 02.02.2018, 20:40
Re: OnPlayerTurnUpsideDown - by Uberanwar - 02.02.2018, 21:25
Re: OnPlayerTurnUpsideDown - by Jelly23 - 03.02.2018, 02:14
Re: OnPlayerTurnUpsideDown - by GrandTA - 03.03.2018, 10:13
Re: OnPlayerTurnUpsideDown - by Jelly23 - 03.03.2018, 13:18
Re: OnPlayerTurnUpsideDown - by RogueDrifter - 03.03.2018, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)