Post: [1.14] Draw FPS/Button Monitor
07-04-2014, 08:14 PM #1
Notorious
Caprisuns Is Back
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU,

Here is everything you need to draw FPS the way you want it and make a little mod menu! Enjoy! Smile

    
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text


    
enum Buttons : unsigned int
{
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
};
bool pressedButton(unsigned int button)
{
char offset = *(char*)0xCBCCC0 + button;
if (offset != 0)
return 1;
else return 0;
}
Last edited by Notorious ; 07-05-2014 at 08:43 PM.

The following 6 users say thank you to Notorious for this useful post:

Asian, Joren, LaRip8, Mango_Knife, Swaqq, Laser
07-06-2014, 12:23 PM #11
Mango_Knife
In my man cave
Originally posted by Bitwise View Post
Did you ever learn Pay Per Click?


Learning it At the moment..
07-18-2014, 05:13 AM #12
Absolute Zero
Do your homework, fool.
Originally posted by Bitwise View Post
Did you ever learn Pay Per Click?


I know we got at each other bad, but my god this is beautiful. Thank you for this.

The following user thanked Absolute Zero for this useful post:

Bitwise
07-20-2014, 02:54 PM #13
Notorious
Caprisuns Is Back
updated for C++/SPRX! Since RTM is not good anymore cause we got better ways now!
08-02-2014, 09:47 PM #14
Dont work, maybe the Buttons are wrongChoco


I used it so :


namespace Buttons
{
int
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
};
bool pressedButton(unsigned int button)
{
char offset = *(char*)0xCBCCC0 + button;
if (offset != 0)
return 1;
else return 0;
}



And How to Call :

if (pressedButton(Buttons::L1))
{
do something
}


But it dont work.
Last edited by Fp-Da-Real-0ne ; 08-02-2014 at 09:55 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo