Kramer infernal
I work alone =/
- Joined
- Jun 18, 2008
- Messages
- 225
- Reaction score
- 0
doTeleportThing [SOLVED]
Console Said: cannot find thing at doTeleportThing, thing not found...
Code:
function onStepIn(cid, item, position, fromPosition)
local player = getThingPos(cid)
local newpos = {x=1035, y=934, z=6}
local newpost = {x=1035, y=939, z=6}
local soyapos = {x=1015, y=937, z=9}
local returnpos = {x=1014, y=932, z=7}
local quest = getPlayerStorageValue(cid,8004)
if item.actionid == 8005 and quest == 13 then
doTeleportThing(player,newpos)
elseif item.actionid == 8006 then
doTeleportThing(player,newpost)
elseif item.actionid == 8007 and quest == 15 then
doTeleportThing(player,soyapos)
elseif item.actionid == 8008 and quest == 15 then
doTeleportThing(player,returnpos)
else
doCreatureSay(cid,'You\'re not available to do this quest yet', TALKTYPE_ORANGE_1)
end
return TRUE
end
Console Said: cannot find thing at doTeleportThing, thing not found...
Last edited: