local config = {
storage = xxxxx,
vip = {x = 100, y = 100, z = 7}
}
local effect
function onSay(cid, words, param, channel)
if getPlayerStorageValue(cid, config.storage) > 0 then
doTeleportThing(cid, config.vip, true)
effect = CONST_ME_TELEPORT
else
doCreatureSay(cid, "You are not a VIP member.", TALKTYPE_ORANGE_1)
effect = CONST_ME_POFF
end
return doSendMagicEffect(getThingPos(cid), effect)
end
how to know the storagestorage = xxxxx,