Search requires javascript to work
forward dod_client_weaponswitch(id, wpnew, wpnold);
This will be called whenever a player switches a weapon