Caduceus
Unknown Member
- Joined
- May 10, 2010
- Messages
- 321
- Solutions
- 2
- Reaction score
- 24
Looking for a way to send channel messages via globalevent. In this case, World Chat is 3.
Issue was wrong talktype.
Code:
local t, i = {
"[Server]: message 1",
"[Server]: message 2"
}, 1
function onThink(interval)
sendChannelMessage(3, MESSAGE_EVENT_ORANGE, t[i])
i = i == #t and 1 or i + 1
return true
end
Issue was wrong talktype.
Code:
sendChannelMessage(3, TALKTYPE_CHANNEL_R1, t[i])
Last edited: