What's new

Temple Rune 7.6

Status
Not open for further replies.

Yoti

Active User
Joined
Apr 29, 2010
Messages
61
Reaction score
3
Witam chcia?bym zaprezentowa? edytowany skrypt z Temple Amulet na Temple Rune! Link:http://tibia.net.pl/actions/161849-temple-amulet.html
Je?eli podobny skrypt by? ju? na forum prosze o usuni?cie tego tematu!Zaczynamy!
Wchodzimy w data\spells\runes i kopiujemy byle co z ko?c?wk? .lua i wklejamy dalej zmieniamy nazwe np na templerune.lua wchodzimy i dajemy to:
local accessCan = 0
function onUse (cid, item, frompos, item2, topos)
if (getPlayerAccess(cid) >= accessCan) then
if item.itemid == 2280 then
doTeleportThing(cid, {x=1000, y=1000, z=7})
doPlayerSay(cid,"Temple GoGo",16)
else
doPlayerSendCancel(cid,"Nie Jestes Tutorem!")
end
end
end
i zapisujemy.
Dalej:wchodzimy w data\actions i szukamy pliku actions.xml edytujemy go notatnikiem i na samym dole wpisujemy:
<action itemid="2280" script="templerune.lua" />
Pomoc:
local accessCan = 0-acces jaki jest potrzebny do jej uzycia!
np 1 -tutor!itp...

if item.itemid == 2280 then-2280-id runki!
doTeleportThing(cid, {x=1000, y=1000, z=7})-swp??rz?dne gdzie ma teleportowa?
doPlayerSay(cid,"Temple GoGo",16)-text wy?wietlany na pomara?czowo jak juz sie tpnie!
My?le ze to wszystko!
Prosze komentowa?!
Powinno Wygl?da? tak:

:)
 
Status
Not open for further replies.
Top