
im going to come to you for help.
First infection lua script would need.
Which counts back to 30 seconds until the first infection.
id be grateful for your help.xxd
edited 1×, last 07.09.21 06:29:10 pm
addhook("startround", "start_countdown")
addhook("second", "countdown_count")
countdown_running = false
countdown_remaining = 30
function start_countdown(mode)
countdown_remaining = 30
countdown_running = true
end
function countdown_count()
if (countdown_running) then
countdown_remaining = countdown_remaining - 1
msg("Time remaining " .. countdown_remaining)
if (countdown_remaining <= 0) then
countdown_running = false
msg("Infection")
end
end
end
-=in Lua.
-=in Lua.