• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua How to get channel exhausted?

Jetro

jangeldev
Joined
Aug 1, 2011
Messages
452
Reaction score
68
Location
Venezuela
Hi all, i just wanna know what function i need to check if the player has an exhausted condition from a channel (like trade channel).
Thanks in advance
 
try hasCondition(cid, CONDITION_EXHAUST, NULL, conditionId)
or hasCondition(cid, CONDITION_EXHAUST, conditionId)
 
I have here:

<channel id="9" name="Help" muted="120" conditionId="2" conditionMessage="Please wait for assistance, You will be answered by someone soon enough!" logged="yes"/>
 

Similar threads

Back
Top