Results 1 to 4 of 4
  1. #1
    vamoux's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    110
    Reputation
    10
    Thanks
    12

    How can i use that?

    This give god give all guns and give gun but i dosent work for me!


    Code:
    public void God(int pIndex, bool Enabled, XRPC Console)
            {
                if (Enabled)
                {
                    Console.OR_UInt32(getPlayerState(pIndex) + 0x18, 1);
                    new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_CAN_IGNORE, "; \"^3God: ^2On\"", Console);
                }
                else
                {
                    Console.AND_Int32(getPlayerState(pIndex) + 0x18, ~1);
                    new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_CAN_IGNORE, "; \"^3God: ^1Off\"", Console);
                }
            }
    
            public void setSpread(int pIndex, bool Enabled, XRPC Console)
            {
                if (Enabled)
                {
                    Console.WriteUInt32(getPlayerState(pIndex) + 0x1EC, 1);
                    new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_CAN_IGNORE, "; \"^3Spread: ^2On\"", Console);
                }
                else
                {
    
                    Console.WriteFloat(getPlayerState(pIndex) + 0x1E8, 0);
                    Console.WriteUInt32(getPlayerState(pIndex) + 0x1EC, 2);
                    new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_CAN_IGNORE, "; \"^3Spread: ^1Off\"", Console);
                }
            }
    
            public void setSpread(int pIndex, float Spread, XRPC Console)
            {
                Console.WriteFloat(getPlayerState(pIndex) + 0x1E8, Spread);
                Console.WriteUInt32(getPlayerState(pIndex) + 0x1EC, 2);
                new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_CAN_IGNORE, "; \"^3Spread: ^7" + Spread.ToString() + "\"", Console);
            }
    
            public void givePlayerWeapon(int pIndex, string Weapon, int Camo, bool Akimbo, XRPC Console)
            {
                int weaponIndex = (int)Console.Call(0x823AB640, new object[] { Weapon });
                Console.Call(0x823AC900, new object[] { getPlayerState(pIndex), weaponIndex, Akimbo, Camo });
                new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_RELIABLE, "h " + weaponIndex.ToString(), Console);
                Console.Call(0x82311E80, new object[] { new gEnt().getGentity(pIndex), weaponIndex, 0, 0 });
                new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_RELIABLE, "; \"^3Weapon: ^7" + Weapon + "\"", Console);
            }
    
            public void TakeAllWeapons(int pIndex, XRPC Console)
            {
                for (int i = 0; i < 0x10; i++)
                    Console.WriteUInt32((uint)(getPlayerState(pIndex) + 0x248 + (i * 0x1C)), 0);
                new gameFunctions().SV_GameSendServerCommand(pIndex, gameFunctions.svscmd_type.SV_CMD_CAN_IGNORE, "; \"^3All Weapons Taken\"", Console);
            }

  2. #2
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,417
    Reputation
    611
    Thanks
    11,990
    My Mood
    Cheerful
    Simple, learn to code.

  3. #3
    dtx12's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    145
    Reputation
    10
    Thanks
    1,853
    Quote Originally Posted by Lovroman View Post
    Simple, learn to code.
    It's for XBOX 360 , not for PC.

  4. #4
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,417
    Reputation
    611
    Thanks
    11,990
    My Mood
    Cheerful
    Quote Originally Posted by dtx12 View Post
    It's for XBOX 360 , not for PC.
    Oops, my bad.
    That's why XRPC is there..
    SV_blahblah seemed to be somehow familiar, so I tought it's for PC..

Similar Threads

  1. [SOLVED]how can I use 2 mods?
    By MaasMaas in forum Call of Duty Modern Warfare 2 Help
    Replies: 5
    Last Post: 10-21-2010, 07:02 AM
  2. How can i use proxy ?
    By Fleur in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 18
    Last Post: 06-11-2010, 10:56 AM
  3. How can I use fraps with no lag?
    By PyrexxHero® in forum Combat Arms Discussions
    Replies: 1
    Last Post: 11-10-2009, 10:49 PM
  4. how can i use cheat engine in mech quest?
    By qqyeq in forum BattleOn Games Hacks, Cheats & Trainers
    Replies: 0
    Last Post: 03-23-2009, 09:52 AM
  5. i wanna spam someones email how can i do that?
    By maiko in forum Spammers Corner
    Replies: 3
    Last Post: 03-20-2008, 11:25 AM