Angelika1993
New Member
- Joined
- Oct 6, 2014
- Messages
- 46
- Reaction score
- 2
Hello,
i have problem with lever teleport
I put item id 2322 right into coal basin and click on lever .. nothing happens
i have problem with lever teleport
I put item id 2322 right into coal basin and click on lever .. nothing happens
- function onUse(cid, item, frompos, item2, topos)
- if item.uid == 1964 then
- kasapos = {x=1035, y=1004, z=7, stackpos=3}
- getkasa = getThingfromPos(kasapos)
- topos = {x=1088, y=943, z=9}
- if getkasa.itemid == 2322 and getkasa.type == 1 then
- doRemoveItem(getkasa.uid,1)
- doTeleportThing(cid,topos)
- else
- doPlayerSay(cid, "Nie polozyles itemu!", TALKTYPE_ORANGE_1)
- end
- return 1
- end
- end