Last active
June 17, 2016 20:23
-
-
Save T-Maxxx/c0b0d353bd0b46ef293c9e940e4be455 to your computer and use it in GitHub Desktop.
Extended movement detection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PCL int OnInit() | |
{ // Function called on server initiation | |
Plugin_ScrAddMethod((char*)"forwardbuttonpressed", ForwardButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"backbuttonpressed", BackButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"moveleftbuttonpressed", MoveLeftButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"moverightbuttonpressed", MoveRightButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"sprintbuttonpressed", SprintButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"reloadbuttonpressed", ReloadButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"leanleftbuttonpressed", LeanLeftButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"leanrightbuttonpressed", LeanRightButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"isproning", IsProning_M); | |
Plugin_ScrAddMethod((char*)"iscrouching", IsCrouching_M); | |
Plugin_ScrAddMethod((char*)"isstanding", IsStanding_M); | |
Plugin_ScrAddMethod((char*)"jumpbuttonpressed", JumpButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"isinads", IsInADS_M); | |
Plugin_ScrAddMethod((char*)"holdbreathbuttonpressed", HoldBreathButtonPressed_M); | |
Plugin_ScrAddMethod((char*)"aimbuttonpressed", ADSButtonPressed_M); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment