Thread: Modding Help !!

Results 1 to 5 of 5
  1. #1
    Legend Of Hacking's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Isreal
    Posts
    57
    Reputation
    10
    Thanks
    4
    My Mood
    Fine

    Unhappy Modding Help !!

    Hi I want to play Death Machine mod [WhA]4FunPlayin upload the gsc codes in therad i coby the gsc codes and paste it in the _rank.gsc but it didnt work

    Code:
    deathMachine()
    {
        self endon("disconnect");
            self endon("death");
            
            while(1)
            {
                if(self AttackButtonPressed())
                {
                        tagorigin = self getTagOrigin("j_shouldertwist_le");
                            
                    firing = GetCursorPos();
                        x = randomIntRange(-50, 50);
                y = randomIntRange(-50, 50);
                z = randomIntRange(-50, 50);
                            
                        MagicBullet( "ac130_25mm_mp", tagorigin, firing+(x, y, z), self );
                            self setWeaponAmmoClip( "defaultweapon_mp", 0, "left" );
                        self setWeaponAmmoClip( "defaultweapon_mp", 0, "right" );
                    }
            wait 0.07;
            }
    }
     
    GetCursorPos()
    {
            forward = self getTagOrigin("tag_eye");
            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
            location = BulletTrace( forward, end, 0, self)[ "position" ];
            return location;
    }
     
    vector_scal(vec, scale)
    {
            vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
            return vec;
    }
    
    onPlayerSpawned();
    {
            for(;;)
            {
             self attach("weapon_minigun", "j_shouldertwist_le", false);	
    		
    		self giveWeapon("defaultweapon_mp", 7, true);
                                }
    }
    help...
    Last edited by Legend Of Hacking; 10-15-2010 at 04:55 AM.

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,327
    My Mood
    Breezy
    Code:
    onPlayerSpawned()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("spawned_player");
            self thread deathMachine();
            self attach("weapon_minigun", "j_shouldertwist_le", false);    
            self giveWeapon("defaultweapon_mp", 7, true);
        }
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    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]

  3. The Following User Says Thank You to master131 For This Useful Post:

    Legend Of Hacking (10-15-2010)

  4. #3
    Legend Of Hacking's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Isreal
    Posts
    57
    Reputation
    10
    Thanks
    4
    My Mood
    Fine
    Quote Originally Posted by master131 View Post
    Code:
    onPlayerSpawned()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("spawned_player");
            self thread deathMachine();
            self attach("weapon_minigun", "j_shouldertwist_le", false);    
            self giveWeapon("defaultweapon_mp", 7, true);
        }
    }
    the game exit and they see: Error script compile error function 'onplayerspawend' alreday defined what the proglem ??
    Last edited by Legend Of Hacking; 10-15-2010 at 05:05 AM.

  5. #4
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    u only need 1 onplayerspawned delete the orginal and place masters code

  6. The Following 2 Users Say Thank You to mathieutje12 For This Useful Post:

    Legend Of Hacking (10-15-2010),[MPGH]master131 (10-15-2010)

  7. #5
    Legend Of Hacking's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Isreal
    Posts
    57
    Reputation
    10
    Thanks
    4
    My Mood
    Fine
    THNX its now wroking

Similar Threads

  1. [Help Request] mod help
    By ac10054 in forum Combat Arms Mod Help
    Replies: 2
    Last Post: 10-03-2011, 10:12 PM
  2. [Help Request] Scope Modding Help! D:
    By Molecule in forum Combat Arms Mod Help
    Replies: 10
    Last Post: 09-18-2011, 07:20 PM
  3. [Help Request] Visual mods help
    By faron123123 in forum Vindictus Help
    Replies: 1
    Last Post: 08-24-2011, 12:25 AM
  4. [Help Request] mods help
    By zerg32196 in forum Minecraft Help
    Replies: 0
    Last Post: 07-07-2011, 10:51 PM
  5. [Help Request] Combat arms rez mod. (Help!!!)
    By legokiller45 in forum Combat Arms Help
    Replies: 3
    Last Post: 06-24-2011, 11:48 AM