As gammer927 said you have to make it a static void script
Now as for calling other scripts here is a examlpe
(global long roundnumber 0)
(script static void next_round
(set roundnumber (+ roundnumber 1))
(sleep 500)
)
(script startup call-next-number
(next_round)
)
for it to complie you have to have the script that it is calling befor the script that calls it.
Hope that was clear.
ok i miss read what you wanted to know so here is what you wont.
(script static void say_something
(begin
(sv_say "somthing")
)
)
(script continuous action
(begin
(sleep_until (= (player_action_test_accept) 1))
(player_action_test_reset)
(sv_say "call say_somthing")
(say_something)
)
)
if you wont more help on scripting add killerkiwi011 to xfire
Edited by killer kiwi on Nov 18, 2009 at 04:23 PM