<channel id="10" active="no" name="Gateway" storage="xxxxx"/>
I didn't tested
XML:<channel id="10" active="no" name="Gateway" storage="xxxxx"/>
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