)
public class Buttons
{
public static UInt32
X = 8192,
O = 16384,
Square = 4,
L3 = 1088,
R3 = 32,
L2 = 256,
R2 = 512,
L1 = 2147487744,
R1 = 128,
Crouch = 16384,
Prone = 32768;
}
public Boolean ButtonPressed(UInt32 clientIndex, UInt32 Button)
{
Byte[] xRevolution = GetMemory(0x0177B828 + 0x547C + (clientIndex * 0x580
, 4);//0x0177B828 is g_client Update on a new Update
UInt32 Buttonz = BitConverter.ToUInt32(xRevolution, 0);
if (Buttonz == Button)
return true;
return false;
}

public byte[] GetMemory(uint address, int length)
{
byte[] buffer = new byte[length];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, processID, 0L, (ulong)address, ref buffer);
return buffer;
}
private uint GClient(uint client)
{
return 0x0177B828 + (client * 0x580
;
}
public bool ButtonPressed(uint client, uint Button)
{
if(DEX.Extension.ReadUInt32(GClient(client) + 0x569C) == Button)
return true;
else return false;
}

private uint GClient(uint client)
{
return 0x0177B828 + (client * 0x580
;
}
public bool ButtonPressed(uint client, uint Button)
{
if(DEX.Extension.ReadUInt32(GClient(client) + 0x569C) == Button)
return true;
else return false;
}

Byte[] xRevolution = GetMemory([B]0x0177B828 +[COLOR="#FF0000"] 0x547C [/COLOR]+ (clientIndex * 0x580
[/B], 4);
DEX.Extension.ReadUInt32([B]GClient(client) +[COLOR="#FF0000"] 0x569C[/COLOR][/B]
Byte[] xRevolution = GetMemory([B]0x0177B828 +[COLOR="#FF0000"] 0x547C [/COLOR]+ (clientIndex * 0x580
[/B], 4);
DEX.Extension.ReadUInt32([B]GClient(client) +[COLOR="#FF0000"] 0x569C[/COLOR][/B]
Byte[] xRevolution = GetMemory([B]0x0177B828 +[COLOR="#FF0000"] 0x547C [/COLOR]+ (clientIndex * 0x580
[/B], 4);
DEX.Extension.ReadUInt32([B]GClient(client) +[COLOR="#FF0000"] 0x569C[/COLOR][/B]
)
public class Buttons
{
public static UInt32
X = 8192,
O = 16384,
Square = 4,
L3 = 1088,
R3 = 32,
L2 = 256,
R2 = 512,
L1 = 2147487744,
R1 = 128,
Crouch = 16384,
Prone = 32768;
}
public Boolean ButtonPressed(UInt32 clientIndex, UInt32 Button)
{
Byte[] xRevolution = GetMemory(0x0177B828 + 0x547C + (clientIndex * 0x580
, 4);//0x0177B828 is g_client Update on a new Update
UInt32 Buttonz = BitConverter.ToUInt32(xRevolution, 0);
if (Buttonz == Button)
return true;
return false;
}

public byte[] GetMemory(uint address, int length)
{
byte[] buffer = new byte[length];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, processID, 0L, (ulong)address, ref buffer);
return buffer;
}
private uint GClient(uint client)
{
return 0x0177B828 + (client * 0x580
;
}
public bool ButtonPressed(uint client, uint Button)
{
if(DEX.Extension.ReadUInt32(GClient(client) + 0x569C) == Button)
return true;
else return false;
}


Copyright © 2026, NextGenUpdate.
All Rights Reserved.