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

Enable channels by StorageValue!

Exedion

Active Member
Joined
Jun 11, 2007
Messages
629
Reaction score
30
How i can edit sourcers for enabling channels if the player have a specific storage value? like the tag "acces" or "vocation"???

- - - Updated - - -

bump
 
You dont have to edit sources

LUA:
function onJoinChannel(cid, channel, users)

if channel == id and getPlayerStorageValue(cid, storage) < 1 then
return false
end
return true
end
 
You dont have to edit sources

LUA:
function onJoinChannel(cid, channel, users)

if channel == id and getPlayerStorageValue(cid, storage) < 1 then
return false
end
return true
end

Good script but... not is what i want! wanted a channel windows showing only channels unlocked if the player get a storage value... the important thing is: the channel window showing some channels...
 
Back
Top