gunmd0wn Thanks for these awesome game modes. For gun game, there is a very small chance of still getting the stinger because in line 223 of the gun game script, the while loop condition is: while(!isWeaponAllowed(weapon, baseWeapons) && loopProtection < 50).
This means that if on the 50th iteration (so when loopProtection is 49) we got the stinger missile, we would increment loopProtection by 1. Then on the 50th iteration, loopProtection == 50 so the second condition in the while loop is false. Hence the while loop is done, and the stinger is kept.
To prevent this, I did:
while(!isWeaponAllowed(weapon, baseWeapons) && loopProtection < 50) {
weapon = getRandomWeapon();
if(weapon != "stinger_mp"){
loopProtection++;
}
}
I think this would fully prevent the stinger in gun game because on the 49th iteration, it will continue to not increment until we don't get a stinger.
Once again, thank you for these awesome scripts, and your waypoints are super goated as well.