Forum

> > CS2D > Scripts > Timer say
Forums overviewCS2D overview Scripts overviewLog in to reply

English Timer say

1 reply
To the start Previous 1 Next To the start

old Timer say

Paulo49
User Off Offline

Quote
1
2
3
4
addhook("say","OnSay")
function OnSay(id,txt)
timer(5000,"OnSay")
end

timer 5second to say .-. help me

old Re: Timer say

Nekomata
User Off Offline

Quote
1
2
3
4
timer(5000, "onSay",id, txt)
function OnSay(id,txt)
--do stuff here in 5s
end

Edit: what you want would be something like this
1
2
3
4
5
6
7
8
addhook("say","_say")
function _say(id, text)
timer(5000, "onSay", id, text)
return 1
end
function onSay(id, text)
parse('msg '..player(id,"name")..': '..text)
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview