You remember that time when you are in a fight and want ~by a mistake~ to aim with the m4/rugger/m60 and you were lost your weapon from hand, and were needed to run and search your weapon in the inventory again ?
Now, you do not have to search for it (and maybe loosing the fight) anymore, 'cause I found a simple way that fix it !
Here is a video
Bugs
If you are raping it, will set your weapon to Fist.
If you are keeping the aim button down, it will set your weapon to Fist.
Credits
Seby (me)
Here is the code:function onPlayerKeyStateChange( player, key, down )
if(key == KEY_ONFOOT_AIM)
{
local wep = player.Weapon;
if(wep == 26 || wep == 27 || wep == 32) player.SetWeapon(wep, 1);
}
}