Ecstacy
Mothafuckaaa
Hey,
I can't get this function to work and I'd like to get some support.
how would I make this work?
It must check pos for tileid by 460, but it teleport wether it's tileID 460 or not.
I tried;
if getTileItemByID(pos, 460) then
if getTileItemByID(pos, 460) == true then
if getTileThingByPos(pos) == 460 then
;
and none works
Thanks in advance,
unknown666
I can't get this function to work and I'd like to get some support.
how would I make this work?
It must check pos for tileid by 460, but it teleport wether it's tileID 460 or not.
I tried;
if getTileItemByID(pos, 460) then
if getTileItemByID(pos, 460) == true then
if getTileThingByPos(pos) == 460 then
;
and none works
Lua:
if getTileItemById(pos, 460) then
doTeleportThing(cid, pos, false)
if doTeleportThing(cid, pos) then
doSendMagicEffect(pos, 10)
doCreatureSay(cid, r.text, 19)
return doAddCondition(cid, thisCondition)
else
Thanks in advance,
unknown666