Results 1 to 7 of 7
  1. #1
    rangg's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    20
    My Mood
    Cool

    need help with 2 easy thing (i'm idiot)

    O.K i need help with 2 thing and i sure they realy easy!
    but i idiot so i dont do it good.
    O.K
    1. in need code for infinite clip like i reload and this add more clips.
    2. (this one realy easy i just an idiot )
    i need know how to put in mode 2 weapons in class like.
    in my coords mode the primary gun in sniper.
    i want put secondry gun.
    how do it?
    here my coords:

    Code:
    self giveWeapon( "cheytac_fmj_xmags_mp", 7, false );
    		self giveMaxAmmo("cheytac_fmj_xmags_mp");
    		while(self getCurrentWeapon() == "none") {
    		self switchToWeapon("cheytac_fmj_xmags_mp");
    		wait 0.05;
    	}
    	wait 0.5;
    }
    this for the sniper i try add one more like that with the name of the :
    Code:
    glock_fmj_xmags_mp
    i want this be the secondry gun please help me .
    thanks
    If i help u so thanks me!

    /yea

  2. #2
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    O_O...
    I din't understand anything xD

    What do you mean with coords?

    i want put secondry gun.
    You mean like,

    Code:
             self giveWeapon( "cheytac_fmj_xmags_mp", 7, false );
             self giveWeapon( glock_fmj_xmags_mp", 0, false );
    		self giveMaxAmmo("cheytac_fmj_xmags_mp");
    		while(self getCurrentWeapon() == "none") {
    		self switchToWeapon("cheytac_fmj_xmags_mp");
    		wait 0.05;
    	}
    	wait 0.5;
    }
    ? xD

  3. #3
    rangg's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    20
    My Mood
    Cool
    Quote Originally Posted by EpicPlayer View Post
    O_O...
    I din't understand anything xD

    What do you mean with coords?



    You mean like,

    Code:
             self giveWeapon( "cheytac_fmj_xmags_mp", 7, false );
             self giveWeapon( glock_fmj_xmags_mp", 0, false );
    		self giveMaxAmmo("cheytac_fmj_xmags_mp");
    		while(self getCurrentWeapon() == "none") {
    		self switchToWeapon("cheytac_fmj_xmags_mp");
    		wait 0.05;
    	}
    	wait 0.5;
    }
    ? xD
    i have the sniper an primary gun k?
    i want put the glock an secondry gun that all
    If i help u so thanks me!

    /yea

  4. #4
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    So you already have a sniper, but you want to add the glock as your secondary?
    Should this be to everyone, or only you? :P
    (Cause the thing that I posted before, makes everyone get an Intervention and a G18)

  5. #5
    rangg's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    20
    My Mood
    Cool
    sure everyne lol
    If i help u so thanks me!

    /yea

  6. #6
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Code:
                    self giveWeapon( "cheytac_fmj_xmags_mp", randomInt(9), false );
                    self giveWeapon("glock_fmj_xmags_mp", 0, false );
    		self giveMaxAmmo("cheytac_fmj_xmags_mp");
                    self giveMaxAmmo("glock_fmj_xmags_mp");
                    wep = self getCurrentWeapon();
                    while(wep != "cheytac_fmj_xmags_mp" && wep != "glock_fmj_xmags_mp"){
                    self switchToWeapon("cheytac_fmj_xmags_mp");}
    		wait 0.05;
    	}
    	wait 0.5;
    }
    Gives you Intervention and Glocks.
    Thats what you want, right?

  7. The Following User Says Thank You to Arasonic For This Useful Post:

    rangg (02-04-2011)

  8. #7
    rangg's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    20
    My Mood
    Cool
    ye and code for infinite clips
    If i help u so thanks me!

    /yea