23.10.2009, 21:44
It's been a while since I've tried something like this, but if the player is in the vehicle when the state changes maybe it is too late to change the weapon. Either that, or maybe SetPlayerArmedWeapon is broken? The old way of doing this was removing the weapon upon entering and giving it back on exit.