while true
wait 10@
0470: 3@ = actor $PLAYER_ACTOR current_weapon
if and
02E0: actor $PLAYER_ACTOR firing_weapon
31@ == 1
then
if and
3@ >= 23
3@ <= 25
then jump @work
end
if or
3@ == 33
3@ == 34
then jump @work
end
end
continue
:work
01B2: give_actor $PLAYER_ACTOR weapon 3@ ammo 0 // Load the weapon model before using this
Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@)
2@ += -1.0
Actor.PutAt($PLAYER_ACTOR, 0@, 1@, 2@)
end
wait 10@
0470: 3@ = actor $PLAYER_ACTOR current_weapon
if and
02E0: actor $PLAYER_ACTOR firing_weapon
31@ == 1
then
if and
3@ >= 23
3@ <= 25
then jump @work
end
if or
3@ == 33
3@ == 34
then jump @work
end
end
continue
:work
01B2: give_actor $PLAYER_ACTOR weapon 3@ ammo 0 // Load the weapon model before using this
Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@)
2@ += -1.0
Actor.PutAt($PLAYER_ACTOR, 0@, 1@, 2@)
end