• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.X Send message to channel

Blade33711

Member
Joined
Aug 6, 2012
Messages
133
Solutions
1
Reaction score
5
Location
Poland
(TFS 0.4) How use this function?
Lua:
doPlayerSendChannelMessage
I tryed this way in globalevents:
Lua:
function onThink(cid, interval, lastExecution)
for _, pid in pairs(getPlayersOnline()) do
    doPlayerSendChannelMessage(pid, "", TALKTYPE_CHANNEL_W, "test", 8)
end
return true
end

DEBUG :/

Why it doesn't work? :/
 
Back
Top