Post: Ghosts 1.12 drunk/drugs mode C# Code! :)
05-29-2014, 08:56 PM #1
HackersForRent
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Let`s start the coding! Smile
Add this under partial class :
Code:
private const uint G_Client = 0xF44400;
private const uint SpinningMode = G_Client + 0x6C;
private int TripModeSwitch = 0;
------------------------------------------------------------------
There are some other ways to do this but this is how i prefer to do it (using a switch)
And then add a timer called TrippyMode or whatever wou wanna call it and then add this in the timer:
------------------------------------------------------------------
if(TripModeSwitch == 0)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x49 });
SV_GameSendServerCommand(0, "J ac130_thermal");
Thread.Sleep(300);
TripModeSwitch++;
}
else if(TripModeSwitch == 1)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x48 });
SV_GameSendServerCommand(0, "J aftermath");
Thread.Sleep(300);
TripModeSwitch++;
}
else if (TripModeSwitch == 2)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x47 });
SV_GameSendServerCommand(0, "J default_night_mp");
Thread.Sleep(300);
TripModeSwitch++;
}
else if (TripModeSwitch == 3)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x46 });
SV_GameSendServerCommand(0, "J near_death_mp");
Thread.Sleep(300);
TripModeSwitch++;
}
else if (TripModeSwitch == 4)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x45 });
SV_GameSendServerCommand(0, "J mpnuke_aftermath");
Thread.Sleep(300);
TripModeSwitch++;
}
else if (TripModeSwitch == 5)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x44 });
SV_GameSendServerCommand(0, "J end_game");
Thread.Sleep(100);
TripModeSwitch++;
}
else if (TripModeSwitch == 6)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x43 });
SV_GameSendServerCommand(0, "J end_game");//you can add different visions or whatever
Thread.Sleep(100);
TripModeSwitch++;
}
else if (TripModeSwitch == 7)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x42 });
SV_GameSendServerCommand(0, "J end_game");
Thread.Sleep(100);
TripModeSwitch++;
}
else if (TripModeSwitch == Cool Man (aka Tustin)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x41 });
SV_GameSendServerCommand(0, "J end_game");
Thread.Sleep(100);
TripModeSwitch++;
}
else if (TripModeSwitch == 9)
{
PS3.SetMemory(SpinningMode, new byte[] { 0x40 });
SV_GameSendServerCommand(0, "J end_game");
Thread.Sleep(100);
TripModeSwitch = 0;
}
------------------------------------------------------------------
SV_GameSendServerCommand (this is not really needed :p)
Code:
private void SV_GameSendServerCommand(int Client, string Command)
{
int num = (int)RPC.Call(0x69A3F4, (object)Client, (object)0, (object)Command);
}
------------------------------------------------------------------
Then just add this to your button and start it:
Code:
TrippyMode.Start();

The following user thanked HackersForRent for this useful post:

K3-

The following 3 users groaned at HackersForRent for this awful post:

coreconfusion, John, Notorious
05-29-2014, 09:09 PM #2
K3-
Bounty hunter
100% working Smile thanks

The following user thanked K3- for this useful post:

HackersForRent
05-29-2014, 09:53 PM #3
Notorious
Caprisuns Is Back
Someone made this already.

The following user thanked Notorious for this useful post:

John

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo