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

Error with catacombs script

Deckard

New Member
Joined
Apr 25, 2015
Messages
19
Reaction score
1
sQVxy0n.png

I got this error..
This is my teleporter.lua
Code:
local choose = {}

function onStepIn(cid, item, position, fromPosition)

    local player = Player(cid)
    local pos = player:getPosition()

    if not player then
        return true
    end

    if getPlayerStorageValue(cid, 6661) == 1 then
    return sendCatacombWindow(cid)
    end

    return true
end

https://otland.net/threads/tfs-1-1-...-teleport-great-for-rpg-servers.230015/page-3

This is the sistem ^
I use TFS 1.1 10.76
 
You can clearly see in the error message that the script that has the error is catacombs.lua not teleport.lua, getCreatureStorage dosn't exist you should use getPlayerStorageValue at line 26 of catacombs.lua
 
Back
Top