Dejm
Oh hun...
Hey,
I have problem with gravestone script. It DOES NOT teleport me to reward room. I have tried nearly everything and still doesn't work. Can anyone help me here?
demonOakGravestone.lua
actions.xml
TFS I am using
Console error
I have problem with gravestone script. It DOES NOT teleport me to reward room. I have tried nearly everything and still doesn't work. Can anyone help me here?
demonOakGravestone.lua
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local position = {x=32713, y=32394, z=8} -- reward room
if getPlayerStorageValue(cid, 55100) == 1 then
doTeleportThing(cid, position)
doSendMagicEffect(position, CONST_ME_TELEPORT)
else
return false
end
return true
end
Code:
<action uniqueid="55100" event="script" value="demonOakGravestone.lua" />
Console error
Last edited: