Forum

> > CS2D > Scripts > Timer say
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Timer say

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Timer say

Paulo49
User Off Offline

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

timer 5second to say .-. help me

alt Re: Timer say

Nekomata
User Off Offline

Zitieren
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
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht