بخصوص طلبك الأول
ممكن تسويه كذا
timer = setTimer ( function()
outputChatBox ( "5 second delay text!" )
end, 5000, 5 )
-- 5000 * 5 = 25000
timer1 = setTimer ( function()
outputChatBox ( "time is over" )
end, 25050, 1 )
وطلبك الثاني
addCommandHandler( "killtimer",
function ()
if isTimer ( timer ) then
remaining, executesRemaining = getTimerDetails(timer)
killTimer ( timer )
timer = setTimer ( function()
outputChatBox ( "5 second delay text!" )
end, remaining, executesRemaining )
end
end)