Skip to content

samp-anti-cheat/OnPlayerTurnUpsideDown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnPlayerTurnUpsideDown

  • Name: OnPlayerTurnUpsideDown
  • Type: Gameplay hack
  • Description: This modification alters player rotation quaternions, making the user look upside down to other players.
  • Detection Method: This include converts the player rotation quaternions to Euler Angles (y axis) and checks if it's above 85.0 or below -85.0, values which you won't get legitely. This method will also detect parkour mods or any other modification that turns the player upside down.
  • Callback: OnAntiCheatTurnUpsideDown(playerid, Float:angle)
  • Author: Jelly23

Installation

Simply install to your project:

sampctl package install samp-anti-cheat/OnPlayerTurnUpsideDown

Include in your code and begin using the library:

#include <optud>

Testing

To test, simply run the package:

sampctl package run

And connect to localhost:7777 to test - calls to OnPlayerTurnUpsideDown are logged to the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published