Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .oooooo. .oooooo..o oooooooooo. oooo oooo
- d8P' `Y8b d8P' `Y8 `888' `Y8b `888 .8P'
- oooo ooo 888 Y88bo. 888 888 888 d8' oooo ooo
- `88b..8P' 888 `"Y8888o. 888oooo888' 88888[ `88b..8P'
- Y888' 888 `"Y88b 888 `88b 888`88b. Y888'
- .o8"'88b `88b ooo oo .d8P 888 .88P 888 `88b. .o8"'88b
- o88' 888o `Y8bood8P' 8""88888P' o888bood8P' o888o o888o o88' 888o
- .oooooo..o .oooooo.
- d8P' `Y8 d8P' `Y8b
- Y88bo. oo.ooooo. .ooooo. .ooooo. 888 888 oo.ooooo. .oooo.o
- `"Y8888o. 888' `88b d88' `88b d88' `"Y8 888 888 888' `88b d88( "8
- `"Y88b 888 888 888ooo888 888 888 888 888 888 `"Y88b.
- oo .d8P 888 888 888 .o 888 .o8 `88b d88' 888 888 o. )88b
- 8""88888P' 888bod8P' `Y8bod8P' `Y8bod8P' `Y8bood8P' 888bod8P' 8""888P'
- 888 888
- o888o o888o
- IF YOU USE ANY OF THE MODS GIVE CREDITS TO "xCSBKx"!
- www.YouTube.com/GMTPS3
- public static string DPAD_IsDown(uint Client)
- {
- string key = PS3.ReadString(0x018c47d2 + (Client* 0);
- string KeyPressed = "";
- if (key == "16")
- KeyPressed = "KEINER";
- else if (key == "15")
- KeyPressed = "Up";
- else if (key == "17")
- KeyPressed = "Down";
- else if (key == "19")
- KeyPressed = "Left";
- else if (key == "21")
- KeyPressed = "Right";
- else
- KeyPressed = key;
- return KeyPressed;
- }
- public static string Key_IsDown(uint Client)
- {
- byte[] buffer = new byte[5];
- PS3.GetMemory(0x012320E2 + (Client * 0xB0C8), buffer);
- string mystring = null;
- mystring = BitConverter.ToString(buffer);
- string result = mystring.Replace("-", "");
- string result1 = result.Replace(" ", "");
- string key = result1;
- string KeyPressed = "";
- if (key == "0000000000")
- KeyPressed = "KEINER";
- else if (key == "0400000004")
- KeyPressed = "X";
- else if (key == "0020000000")
- KeyPressed = "[]";
- else if (key == "0200000002")
- KeyPressed = "HOCKEN";
- else if (key == "0100000001")
- KeyPressed = "LIEGEN";
- else if (key == "2002000020")
- KeyPressed = "R3";
- else if (key == "002002")
- KeyPressed = "L3";
- else if (key == "00040000000")
- KeyPressed = "R2";
- else if (key == "4000000040")
- KeyPressed = "L2";
- else if (key == "0800000808")
- KeyPressed = "L1";
- else if (key == "0001000000")
- KeyPressed = "R1";
- else if (key == "2006000020")
- KeyPressed = "R3 + L3";
- else if (key == "C0000000C0")
- KeyPressed = "Prone + R2 + L2";
- else if (key == "C2000000C2")
- KeyPressed = "R2 + L2";
- else
- KeyPressed = key;
- return KeyPressed;
- }
- public static void GodMode(uint Client)
- {
- PS3.SetMemory(0x012272ea + (Client * 0xB0C8), new byte[] { 0x00, 0x15 });
- PS3.SetMemory(0x010EEC28 + (Client * 0xB0C8), new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00 });
- PS3.SetMemory(0x010EEC28 + (Client * 0xB0C8), new byte[] { 0x64, 0xFF,0xFF,0xFF,0xFF });
- }
- public static void AllPerks(uint Client)
- {
- PS3.SetMemory(0x01227788 + (Client * 0xB0C8), new byte[] { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF });
- }
- public static void mFlag(uint Client, string Type)
- {
- if (Type == "Freeze")
- PS3.SetMemory(0x012320df + (Client * 0xB0C8), new byte[] { 0x04 });
- else if (Type == "NoClip")
- PS3.SetMemory(0x012320df + (Client * 0xB0C8), new byte[] { 0x02 });
- else if (Type == "Ufo")
- PS3.SetMemory(0x012320df + (Client * 0xB0C8), new byte[] { 0x01 });
- else if (Type == "Normal")
- PS3.SetMemory(0x012320df + (Client * 0xB0C8), new byte[] { 0x00 });
- }
- public static void cBuf_AddText(string Command)
- {
- PS3.WriteString(0x2000000, Command);
- PS3.SetMemory(0x262b28, new byte[] { 0x38, 0x60, 0, 0, 60, 0x80, 2, 0, 0x4b, 0xf9, 0xe9, 0x59 });
- Thread.Sleep(15);
- PS3.SetMemory(0x2000000, new byte[100]);
- PS3.SetMemory(0x262b28, new byte[] { 60, 0x60, 1, 0xda, 0x80, 0x63, 0xe1, 0xcc, 0x88, 0x63, 0, 8 });
- }
- public static void Speed(int Value)
- {
- cBuf_AddText("g_speed " + Value);
- }
- public static void ResetSpeed()
- {
- cBuf_AddText("reset g_speed");
- }
- public static void Jump(int Value)
- {
- cBuf_AddText("jump_height " + Value);
- }
- public static void ResetJump()
- {
- cBuf_AddText("reset jump_height");
- }
- public static void Gravity(int Value)
- {
- cBuf_AddText("g_gravity " + Value);
- }
- public static void ResetGravity()
- {
- cBuf_AddText("reset g_gravity");
- }
- public static void Timescale(int Value)
- {
- cBuf_AddText("Timescale " + Value);
- }
- public static void ResetTimescale()
- {
- cBuf_AddText("reset Timescale");
- }
- public static void SetDebugLocalString(string Text)
- {
- cBuf_AddText("set ui_debug_localVarString " + Text);
- }
- public static void SetDebugLocalBool(string Text)
- {
- cBuf_AddText("set ui_debug_localVarBool " + Text);
- }
- 0x2D0788 - maprestart
- 0x123D468 - G_Client
- 0x10EEAD8 - G_Entity
- 0x145B34 - Add_Ammo
- 0x18E3BC - G_GivePlayerWeapon
- 0x6D798 - no reocil nop
- 0x2BF4D4 - steady aim 00
- 0x2B0E84 - full auto 39, 60, 00, 00
- 0x67EBC - laser
- 0x201488 - Cbuf_AddText
- 0x279F18 - Dvar_GetBool
- 0x281470 - Va
- 0x2D94C8 - Sv_GameSendServerCommand
- 0x386200 - R_SetFrameFog
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement