View difference between Paste ID: vBGbcsbV and yuZgEdjz
SHOW: | | - or go back to the newest paste.
1
local cfg = {
2
	time = 30, -- Minutes to say
3
	text = "Nossa este servidor eh massa!",
4
}
5
6
function onLogin(cid)
7
8
	if isPlayer(cid) then
9-
		addEvent(doCreatureSay, cfg.time*60*1000, cfg.text, TALKTYPE_YELL)
9+
		addEvent(doCreatureSay, cfg.time*60*1000, cid, cfg.text, TALKTYPE_YELL)
10
	end
11
		return true
12
	end