I was using this script:
(global short ticks 0)
(global short seconds 0)
(global short minutes 0)
(script continuous manage_ticks
(set ticks (+ ticks 1))
(if
(>= ticks 30)
(begin
(set seconds (+ seconds 1))
(set ticks 0)
)
)
(if
(>= seconds 60)
(begin
(set minutes (+ minutes 1))
(set seconds 0)
)
)
(hud_set_timer_time minutes seconds)
)
Which I found on another topic. I compiled the script with Sapien and I got this error
07.18.09 18:24:46 i expected a script or variable definition.: ÿþ(
07.18.09 18:24:46 recompiling scripts after scenarios were merged.
07.18.09 18:24:46 i expected a script or variable definition.: ÿþ(
Can anyone help me? Yes, I want a timer that counts up.