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

When Open Quest Door player auto stand on it

Hover Design

Novice Member [Graphics Designer / Mapper]
Joined
Jun 29, 2017
Messages
307
Solutions
4
Reaction score
371
Location
▒▒▒▒▒▒▒▒﷽ 𝐀𝐁'𝐃𝐄𝐍𝐃𝐑𝐈𝐄𝐋 ﷽ ▒▒▒▒▒▒▒▒
When i open quest door player don't stand on it then players without storage can pass it

O4wwzl1.png


Code:
function onUse(cid, item, frompos, item2, topos)
    if item.itemid == 1223 then
        if getPlayerStorageValue(cid,12109) == 4 then
            doTransformItem(item.uid, item.itemid+1)
        else
            doPlayerSendTextMessage(cid,22,"You first must play the instruments in correct order to get the access!")
        end
    end
    return true
end
 
I add doTeleportThing on doors and now working.

Code:
function onUse(cid, item, frompos, item2, topos)
local temple = {x = 993, y = 1008, z = 7}
    if item.itemid == 1223 then
        if getPlayerStorageValue(cid,12109) == 4 then
            doTransformItem(item.uid, item.itemid+1)
            doTeleportThing(cid, {x=993, y=1008, z=7})
        else
            doPlayerSendTextMessage(cid,22,"You first must play the instruments in correct order to get the access!")
        end
    end
    return true
end
 
Back
Top