Results 1 to 2 of 2
  1. #1
    jorricks3's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    The netherlands, limburg
    Posts
    199
    Reputation
    10
    Thanks
    49
    My Mood
    Drunk

    Making a hotkey for changing gun by VIP people

    Heayyy
    I want to change the maingun when you press N
    So i thought of this but i think it does not work.. so? any suggestions
    Code:
    doSomething()
    {
    notifyOnPlayerCommand("N", "+actionslot 1"); 
    for(;;)
    {
    self waittill("N");
    self takeAllWeapons();
    if(self.guid == "011000012485237b" || self.guid == "011000017c6c38d7")
    	{
    	self giveWeapon("cheytac_thermal_xmags_mp", RandomInt(9), false );
    	self giveWeapon( MainWeapon, RandomInt(9), false );
    	wait 0.2;
    	self switchToWeapon("cheytac_thermal_xmags_mp");
    	self GiveMaxAmmo("cheytac_thermal_xmags_mp");
    	self GiveMaxAmmo(MainWeapon);
    	}
    	else{
    	self giveWeapon( MainWeapon, RandomInt(9), false );
    	wait 0.2;
    	self switchToWeapon(MainWeapon);
    	self GiveMaxAmmo(MainWeapon);
    	self giveWeapon( SecondaryWeapon, 5, false );
    	self setWeaponAmmoClip( SecondaryWeapon, 0);
    	self setWeaponAmmoStock( SecondaryWeapon, 0);
    	}
    }
    }






  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,670
    My Mood
    Breezy
    It's self notifyOnPlayerCommand("N", "+actionslot 1");
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

Similar Threads

  1. For the peapel who want's to make a hotkey
    By lauwy in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 11
    Last Post: 08-14-2010, 10:42 AM
  2. Auto-clicker activated/deactivated by hotkey for semi-auto guns?
    By nesakysiu in forum Call of Duty Modern Warfare 2 Help
    Replies: 9
    Last Post: 06-16-2010, 06:08 AM
  3. NEED HELP FOR CHANGING HOTKEYS
    By imsonoob08 in forum Combat Arms Help
    Replies: 4
    Last Post: 01-01-2010, 11:56 PM
  4. 50 Posts or 100=Vip/Stay tune for change chams colors
    By n3rd in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 01-01-2009, 12:46 PM
  5. change many hacks vip for account of nvl 15 or 16 for above
    By evildark in forum Trade Accounts/Keys/Items
    Replies: 1
    Last Post: 07-07-2007, 03:00 AM