{$CLEO .cs}
0000:
:NONAME_4
if and
key 81
Actor.HasWeapon($PLAYER_ACTOR, 31)
else_jump @NONAME_123
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 2 weapon 1@ ammo 2@ model 3@
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 1@
jump @NONAME_4
:NONAME_123
if and
key 81
Actor.HasWeapon($PLAYER_ACTOR, 24)
else_jump @NONAME_4
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 5 weapon 1@ ammo 2@ model 3@
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 1@
jump @NONAME_4