• 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!

New Channel

psychosisneamia

~Beginner~
Joined
Jun 7, 2012
Messages
162
Reaction score
7
Hello I don't know If I am posting this in the correct section or not.. But my question is.. I want a channel that will ALWAYS be open.. players can not close it.. How can I make this possible? If its a source edit can you guys give me a link to the programs i will need and a small description of what I am doing exactly~ Thank you so much =)!

@Limos do you have any idea?
 
Last edited:
Have you tried todo like this?
Code:
<event type="leavechannel" name="ReOpenChannel" event="script" value="reOpenChannel.lua">
Code:
local channelId = CHANNEL_HELP

function onChannelLeave(cid, channel, users)
    if channel == channelId then
        doPlayerOpenChannel(cid, channelId)
    end

    return true
end

Code:
registerCreatureEvent(cid, "ReOpenChannel")
 
lets make sure I have this part correct,
Code:
local channelId = CHANNEL_HELP

function onChannelLeave(cid, channel, users)
    if channel == channelId then
        doPlayerOpenChannel(cid, 9)
    end

    return true
end

No errors, yet the channel doesn't open itself.
 
Back
Top