// Function definition
public static void Init(ButtonLayout layout = ButtonLayout.Default, bool isLocal = false)
// Default button layout for multiplayer
PS3Buttons.Init();
// Default button layout for local
PS3Buttons.Init(ButtonLayout.Default, true);
// Tactical button layout for multiplayer
PS3Buttons.Init(ButtonLayout.Tactical);
// Tactical button layout for local
PS3Buttons.Init(ButtonLayout.Tactical, true);
// Function definition
public static void ChangeLayout(ButtonLayout layout = ButtonLayout.Default)
// Change to Tactical Flipped
PS3Buttons.ChangeLayout(ButtonLayout.TacticalFlipped);
// Change to Lefty
PS3Buttons.ChangeLayout(ButtonLayout.Lefty);
PS3Buttons.X;
PS3Buttons.Square;
PS3Buttons.Triangle;
PS3Buttons.Circle;
PS3Buttons.L1;
PS3Buttons.L2;
PS3Buttons.L3;
PS3Buttons.R1;
PS3Buttons.R2;
PS3Buttons.R3;
PS3Buttons.Up;
PS3Buttons.Down;
PS3Buttons.Left;
PS3Buttons.Right;
PS3Buttons.Start;
PS3Buttons.Select;
PS3Buttons.Crouch;
PS3Buttons.Prone;
PS3Buttons.ToggleADS;
// Function definition
public static uint Get(string button)
// Getting the value or offset
PS3Buttons.Get("X");
PS3Buttons.Get("Square");
PS3Buttons.Get("Triangle");
PS3Buttons.Get("Circle");
PS3Buttons.Get("L1");
PS3Buttons.Get("L2");
PS3Buttons.Get("L3");
PS3Buttons.Get("R1");
PS3Buttons.Get("R2");
PS3Buttons.Get("R3");
PS3Buttons.Get("Up");
PS3Buttons.Get("Down");
PS3Buttons.Get("Left");
PS3Buttons.Get("Right");
PS3Buttons.Get("Start");
PS3Buttons.Get("Select");
PS3Buttons.Get("Crouch");
PS3Buttons.Get("Prone");
PS3Buttons.Get("ToggleADS");
// Detecting if "triangle" has been pressed
if(PS3.Extension.ReadInt32(G_Client(client, PS3Buttons.Triangle)) == 1)
return true;
else return false;
// Detecting if "x" + "square" has been pressed
if(PS3.Extension.ReadInt32(G_Client(client, PS3Buttons.X)) == 1
&& PS3.Extension.ReadInt32(G_Client(client, PS3Buttons.Square)) == 1)
return true;
else return false;
Copyright © 2024, NextGenUpdate.
All Rights Reserved.