Zwik - 2008-07-12 10:16:13

W data\actions\scripts robimy tam train.lua

Spoiler:

function onUse(cid, item, frompos, item2, topos)

if item.uid == 8000 then
kasapos = {x=125, y=99, z=7,stackpos=255},
getkasa = getThingfromPos(kasapos)
topos = ]{x=125, y=99, z=8}

if getkasa.itemid == 2152 and getkasa.type == 5 then
doRemoveItem(getkasa.uid,5)
doTeleportThing(cid,topos)


else
doPlayerSendTextMessage(cid,22,"Poloz 5 platynek kolo dzwigni.")
end


return 1
end
end

Trzeba Zrobic Dziwgnie (id dzwigni 1945) o uniqueid 8000

Spoiler:

{x=125, y=99, z=7} - To Sa Współrzędne Gdzie Ma Gracz Polozyc Kase.
{x=125, y=99, z=8} - To Sa Wspozedne Gdzie Ma Teleportowac Gracza.

Teraz W data\actions\actions.xml

Dajemy Na Samym Koncu

Spoiler:

<action uniqueid="8000" script="train.lua" />

www.kibicebukowna.pun.pl www.grascooby.pun.pl www.gaudiumforum.pun.pl www.importtuning.pun.pl www.gwardiasqd.pun.pl