WARN_HEALTH = true
timer=createTimer(nil)
timer.Interval = 3000
timer.OnTimer = function(timer)
if readFloat("health_pointer") < 100.0 then
if WARN_HEALTH then
playSound(findTableFile("Activate"))
WARN_HEALTH = false
end
else
WARN_HEALTH = true
end
end
timer.Enabled = true
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum