The test was completed now.
This version is m60 replace the dessert rifle and appear.
Please end comment, delete the 264th line, and compile the 265th line even to AK47 again when you want to achieve it.
Before
PHP Code:
case RIFLE_AK47: if ((GetConVarInt(h_SG552Enabled) == 1) && (GetRandomInt(1, 5) == 1)) WeaponSpawn_IDMod[i] = RIFLE_SG552;
// case RIFLE_AK47: if ((GetConVarInt(h_M60Enabled) == 1) && (GetRandomInt(1, 5) == 1)) WeaponSpawn_IDMod[i] = RIFLE_M60;
After
PHP Code:
// case RIFLE_AK47: if ((GetConVarInt(h_SG552Enabled) == 1) && (GetRandomInt(1, 5) == 1)) WeaponSpawn_IDMod[i] = RIFLE_SG552;
case RIFLE_AK47: if ((GetConVarInt(h_M60Enabled) == 1) && (GetRandomInt(1, 5) == 1)) WeaponSpawn_IDMod[i] = RIFLE_M60;
Sorry for my bad English.