Post: [1.16/C++] Button Monitoring [SPRX]
03-04-2015, 01:13 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU, Here is Ghosts 1.16 Button Monitoring for c++/sprx Enjoy!

Buttons:
    
enum Buttons
{
X = 1024,
Square = 48,
L1 = 526336,
L2 = 32768,
L3 = 8194,
R1 = 1,
R2 = 16384,
R3 = 67108868,
Crouch = 512,
Prone = 256,
CrouchAndR2 = Crouch + R2,
StartButton = 8388608,
};


Detect Button:
    
bool DetectBtn(int clientIndex, Buttons Btn)
{
return *(int*)0xF47CB0 + (clientIndex * 0x3700) == Btn;
}


Credits:
    
MegaMister

The following 3 users say thank you to oStankyModz for this useful post:

Welsh, Script Kiddie, TotalModzHD
06-04-2016, 01:27 PM #2
RaxeModz
Pokemon Trainer
Originally posted by oStankyModz View Post
Hey NGU, Here is Ghosts 1.16 Button Monitoring for c++/sprx Enjoy!

Buttons:
    
enum Buttons
{
X = 1024,
Square = 48,
L1 = 526336,
L2 = 32768,
L3 = 8194,
R1 = 1,
R2 = 16384,
R3 = 67108868,
Crouch = 512,
Prone = 256,
CrouchAndR2 = Crouch + R2,
StartButton = 8388608,
};


Detect Button:
    
bool DetectBtn(int clientIndex, Buttons Btn)
{
return *(int*)0xF47CB0 + (clientIndex * 0x3700) == Btn;
}


Credits:
    
MegaMister


Thanks !

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo