Yeah Mr. Robot.I believe the m16 glitch no longer exists. https://bitbucket.org/modriot/scxpm/src/...ill.inl-63 Giving the player AR Grenades with scxpm_randomammo here spawned an m16. The only problem we have found was with the m16. It may have just been a conflict of map configuration with bm_sts, but it was removed anyway. I guess we could just disable the ammo regeneration skill on that map, since I configured the code so it can do that.
This is the original code that caused the glitch to happen:
This is the original code that caused the glitch to happen:
Code:
if(number==4)
{
get_user_ammo(i,6,clip,ammo)
if(ammo<50)
{
give_item(i,"ammo_crossbow")
give_item(i,"ammo_crossbow")
give_item(i,"ammo_ARgrenades") // gives player m16 on maps like bm_sts
give_item(i,"ammo_ARgrenades") // gives player m16 on maps ike bm_sts
}
else
{
number=5
}
}