[HELP] Need Gun With No Ammo
Hey, I want make a intervention lobby, but the secundary gun can not have any ammo, could you plz help me with the command I already have this
(The Golden Deagle Must Have No Ammo)
doDvars()
{
// Take all weapons first
self takeAllWeapons();
/** Server world settings **/
setDvar("bg_fallDamageMaxHeight", 1);
setDvar("perk_fastSnipeScale", 5);
self giveWeapon( "throwingknife_mp", 0, false );
self giveWeapon( "deserteaglegold_mp", 0, false );
// Instructions
//for(i = 0; i < 6; i++) {
// self iPrintlnBold("^3Welcome To Sniper Only Server! Press ^21^3 To Unsling Your Weapon And Play!"); wait 0.50;
//}
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Pre s N ^1To Complete ^3All Challenges!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^3You Will Be ^2Lv70 ^3When You Leave!");
//self thread maps\mp\gametypes\_hud_message::hintMessage("^3Pre ss ^4[{weapnext}]^3 to unsling gun!");
// Give everyone an Intervention
self giveWeapon( "cheytac_fmj_xmags_mp", 0, false );self GiveMaxAmmo("cheytac_fmj_xmags_mp");
while(self getCurrentWeapon() != "cheytac_fmj_xmags_mp") {
self switchToWeapon("cheytac_fmj_xmags_mp");
wait 0.05;
}
}