"insert a block into your"
just give a [spoiler]'d [code] for an example weapon config, it's much easier than trying to get the average layman to come to the same conclusion that they're using keyvalue config syntax in a very specific way.
I would've kept the convar names the same, that way nobody really needs to update their configs ;p
quick, remind people you've already been running CW3 for a while now lolo!!
PHP Code:
stock WeaponSwitch(iClient, iSlot)
{
ClientCommand(iClient, "slot%i", iSlot+1);
}
This can make people weapon switch without needing to do anything special to fix the viewmodels. Setting m_hActiveWeapon directly won't fire OnWeaponSwitch, which the core plugin uses to change whether or not viewmodels are visible or not.
__________________