Answered Give 2 Weapons at once

Bossnagev420

Veteran
Messages
201
Reaction score
66
Points
813
is it possible to give myself 2 weapons with a single click in the menu?
rn im useing this to give myself a weapon

Code:
InstaGiveWeapon( Weaponname )
{
  Take=self getCurrentWeapon();
  self takeWeapon(Take);
  self giveWeapon(Weaponname);
  self iprintln( "Gave ^2" + Weaponname );
  wait 1;
}

i thought if i do it like this it would give me 2 guns but it just gives me one
Code:
self addMenuPar("M14 & DSR", ::InstaGiveWeapon, "m14_zm" ,"dsr50_zm" );

i tried to remove
Code:
Take=self getCurrentWeapon();

  self takeWeapon(Take);
but if i do that i hear the girls laugh and it takes all my guns
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
you need this.
Code:
self notify( "stop_player_too_many_weapons_monitor" );
 
Top