public class Buttonz
{
public static string
DpadUp = "+actionslot 1",
DpadDown = "+actionslot 2",
DpadRight = "+actionslot 4",
DpadLeft = "+actionslot 3",
Cross = "+gostand",
Circle = "+stance",
Triangle = "weapnext",
Square = "+usereload",
R3 = "+melee",
R2 = "+frag",
R1 = "+attack",
L3 = "+breath_sprint",
L2 = "+smoke",
L1 = "+speed_throw",
Select = "togglescores",
Start = "togglemenu";
}
public bool ButtonPressed(int client, string Button)
{
if (PS3.Extension.ReadString(0x34750E9F + ((uint)client * 0x97F80)) == Button)
return true;
else return false;
}
public uint findPS(int client)
{
return 0x14E2230 + ((uint)client * 0x3700);
}
public void JetPack(int client)
{
float jH = PS3.Extension.ReadFloat(findPS(client));
jH += 90;
PS3.Extension.WriteFloat(findPS(client), jH);
}
//In a timer or backgroundworker!
if(ButtonPressed(0, Buttonz.Cross))
JetPack(0);//Starts jet pack for client 0
if(ButtonPressed(3, Buttonz.Cross))
JetPack(3);//Starts jetpack for client 3
public class Buttonz
{
public static string
DpadUp = "+actionslot 1",
DpadDown = "+actionslot 2",
DpadRight = "+actionslot 4",
DpadLeft = "+actionslot 3",
Cross = "+gostand",
Circle = "+stance",
Triangle = "weapnext",
Square = "+usereload",
R3 = "+melee",
R2 = "+frag",
R1 = "+attack",
L3 = "+breath_sprint",
L2 = "+smoke",
L1 = "+speed_throw",
Select = "togglescores",
Start = "togglemenu";
}
public bool ButtonPressed(int client, string Button)
{
if (PS3.Extension.ReadString(0x34750E9F + ((uint)client * 0x97F80)) == Button)
return true;
else return false;
}
public uint findPS(int client)
{
return 0x14E2230 + ((uint)client * 0x3700);
}
public void JetPack(int client)
{
float jH = PS3.Extension.ReadFloat(findPS(client));
jH += 90;
PS3.Extension.WriteFloat(findPS(client), jH);
}
//In a timer or backgroundworker!
if(ButtonPressed(0, Buttonz.Cross))
JetPack(0);//Starts jet pack for client 0
if(ButtonPressed(3, Buttonz.Cross))
JetPack(3);//Starts jetpack for client 3
public class Buttonz
{
public static string
DpadUp = "+actionslot 1",
DpadDown = "+actionslot 2",
DpadRight = "+actionslot 4",
DpadLeft = "+actionslot 3",
Cross = "+gostand",
Circle = "+stance",
Triangle = "weapnext",
Square = "+usereload",
R3 = "+melee",
R2 = "+frag",
R1 = "+attack",
L3 = "+breath_sprint",
L2 = "+smoke",
L1 = "+speed_throw",
Select = "togglescores",
Start = "togglemenu";
}
public bool ButtonPressed(int client, string Button)
{
if (PS3.Extension.ReadString(0x34750E9F + ((uint)client * 0x97F80)) == Button)
return true;
else return false;
}
public uint findPS(int client)
{
return 0x14E2230 + ((uint)client * 0x3700);
}
public void JetPack(int client)
{
float jH = PS3.Extension.ReadFloat(findPS(client));
jH += 90;
PS3.Extension.WriteFloat(findPS(client), jH);
}
//In a timer or backgroundworker!
if(ButtonPressed(0, Buttonz.Cross))
JetPack(0);//Starts jet pack for client 0
if(ButtonPressed(3, Buttonz.Cross))
JetPack(3);//Starts jetpack for client 3
Copyright © 2024, NextGenUpdate.
All Rights Reserved.