public class Buttonz
{
public static int
DpadUp = 13617,
DpadDown = 14129,
DpadLeft = 14641,
DpadRight = 12594,
Cross = 13618,
Square = 12593,
Circle = 13106,
R2 = 53,
R1 = 49,
L2 = 55,
L1 = 13105,
L3 = 57,
R3 = 14130;
}
public static bool ButtonPressed(int client, int Button)
{
if (BitConverter.ToInt16(PS3.Extension.GetBytes(0x38A81A52 + ((uint)client * 0x6FA00), 2), 0) == Button || BitConverter.ToInt16(PS3.Extension.GetBytes(0x38F91A52 + ((uint)client * 0x6FA00), 2), 0) == Button)
return true;
else return false;
}
if(ButtonPressed(0, Buttonz.DpadUp))
MessageBox.Show("Client 0 is pressing up");
else if(ButtonPressed(3, Buttonz.DpadDown))
MessageBox.Show("Client 3, is pressing dpad down");
public class Buttons
{
public static Int32
L1 = 526336,
R1 = 16777216,
L2 = 8388608,
R2 = 4194304,
L3 = 35651584,
R3 = 67108868,
Cross = 262144,
Crouch = 131072,
Square = 805306368,
Start = 32768;
}
public bool ButtonPressed(int client, Int32 Button)
{
if (BitConverter.ToInt32(Debug.GetBytes(0xF46E30 + ((uint)client * 0x3700),
, 0) == Button)
return true;
else return false;
}
private void timer1_Tick(object sender, EventArgs e)
{
if (ButtonPressed(0, Buttons.L1 + Buttons.R1))
textBox1.Text = "C0 L1 R1";
else if (ButtonPressed(0, Buttons.L1 + Buttons.R1 + Buttons.L2 + Buttons.R2))
textBox1.Text = " C0 L1 R1 L2 R2";
else textBox1.Text = "None";
}
SC58 - Original Dword for client_s on 1.06
Imcsx - PS3Lib
RatchetBooy - for helping me test earlier even though we couldn't find it at the time (I didn't have my ps3 at that time)
Me - Script
Copyright © 2026, NextGenUpdate.
All Rights Reserved.