Sorry for the late reply, but I just remembered that this was for fixing bots that are shooting with snipers/semi rifles. Without the fix the gun will 'jam' due to not releasing the shoot button. A proper fix would be to find the 'semiAuto' & 'boltAction' addresses from the weaponfile and use it like this;
From
Code:
if(!bot_wepType[clientnum])
{
if(bot_shoot[clientnum] == 4097)
bot_shoot[clientnum] = 0;
else
bot_shoot[clientnum] = 4097;
} else
bot_shoot[clientnum] = 4097;
To something like
Code:
if(iswepbolt[clientnum] || isweprifle[clientnum])
{
if(bot_shoot[clientnum] == 4097)
bot_shoot[clientnum] = 0;
else
bot_shoot[clientnum] = 4097;
} else
bot_shoot[clientnum] = 4097;