_hetzerlauncher = _this select 0

_index = _this select 1

~0.05
_paolo = 0

#start
?!(alive _hetzerlauncher):exit
?!local _hetzerlauncher: exit

_paolo = _paolo + 1
? _paolo == 2 : _hetzerlauncher vehicleChat "Letzter Pakkisten !"
? _paolo > 2 : goto "exit"

@ if (_hetzerlauncher ammo "B45_Gr38HLW" == 0) then {goto "distance"}

#distance
?!(alive _hetzerlauncher):exit
@ if (_hetzerlauncher distance bergehetzer <6) then {goto "nocheater"}
goto "check"

hint "cheater !"

#nocheater
?!(alive _hetzerlauncher):exit
_hetzerlauncher sideChat "Nachladen.."

_hetzerlauncher setVelocity [0, 0, 0]
_hetzerlauncher engineOn false
_hetzerlauncher setFuel 0

_hetzerlauncher removeaction _index
_bergehetzercrate = "B45HETZER_C000" camcreate [(getpos _hetzerlauncher select 0)-(sin (getdir _hetzerlauncher)-3), (getpos _hetzerlauncher select 1)-(cos (getdir _hetzerlauncher)-1), 0.7]
_bergehetzercrate setdir getdir _hetzerlauncher

~4
?!(alive _hetzerlauncher):exit
_hetzerlauncher setBehaviour "AWARE"
_hetzerlauncher removeweapon "B45_Gr38HLW"
~4
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~2
_hetzerlauncher addmagazine "B45_Gr38HLWf"
~6
?!(alive _hetzerlauncher):exit
deletevehicle _bergehetzercrate
_hetzerlauncher sideChat "Nachladen beendet !"
_hetzerlauncher addmagazine "B45_Gr38HLW"
_hetzerlauncher addweapon "B45_Gr38HLW"
_hetzerlauncher engineOn true
_hetzerlauncher setFuel 1
_hetzerlauncher setBehaviour "COMBAT"
goto "start"