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

i need Anyone Edit This Script And Tell me How i Used I need Anyone Ues Box Go Temple

Mosahonda

New Member
Joined
Mar 28, 2017
Messages
22
Reaction score
2
local c = { itemId = 2148, amount = 1, newPos = {x = 677, y = 639, z = 7} } function onUse(player) return player:addItem(c.itemId, c.amount), player:teleportTo(c.newPos) end
 
Lua:
local c = {
    itemId = 2148, -- item player receives
    amount = 1, -- how many of that item
    newPos = {x = 677, y = 639, z = 7} -- where they get teleported
}

function onUse(player)
    return player:addItem(c.itemId, c.amount), player:teleportTo(c.newPos)
end
 
Lua:
local c = {
    itemId = 2148, -- item player receives
    amount = 1, -- how many of that item
    newPos = {x = 677, y = 639, z = 7} -- where they get teleported
}

function onUse(player)
    return player:addItem(c.itemId, c.amount), player:teleportTo(c.newPos)
end
Lua:
local c = {
    itemId = 2148, -- item player receives
    amount = 1, -- how many of that item
    newPos = {x = 677, y = 639, z = 7} -- where they get teleported
}

function onUse(player)
    return player:addItem(c.itemId, c.amount), player:teleportTo(c.newPos)
end
in xml Type any
 
in xml Type any
in actions.xml put any actionid that is not currently in use.
XML:
<action actionid="45001" script="script_name.lua" />
On map editor, put that same actionid number onto the chest / box.
 
Back
Top