local function sendMessage(cid)
local player = Player(cid)
if not player then
return false
end
player:sendChannelMessage("", "Welcome to custom channel!", TALKTYPE_CHANNEL_O, 9)
end
function onJoin(player)
addEvent(sendMessage, 100, player:getId())
return true
end