Tibia Forum Tibia Forum
Forum o Tibii.
Tibia Forum
FAQFAQ  SzukajSzukaj  RejestracjaRejestracja  ProfilProfil  UżytkownicyUżytkownicy  GrupyGrupy  GalerieGalerie  Zaloguj się, by sprawdzić wiadomościZaloguj się, by sprawdzić wiadomości  ZalogujZaloguj 

Tutor Door

 
Odpowiedz do tematu    Forum Tibia Forum Strona Główna -> Skrypty do OTS
Zobacz poprzedni temat :: Zobacz następny temat  
Autor Wiadomość
Xarin
Nowy



Dołączył: 07 Lis 2006
Posty: 19
Przeczytał: 0 tematów

Ostrzeżeń: 0/10
Skąd: Poland

PostWysłany: Śro 15:59, 08 Lis 2006    Temat postu: Tutor Door

Daje tu Skrypt do drzwi przez ktore moga przechodzic tylko tutorzy i wyzsze rangi:




function onUse(cid, item, frompos, item2, topos)
accessneed = item.actionid - 1000
if accessneed > 0 then
if getPlayerAccess(cid) >= accessneed then
pos = getPlayerPosition(cid)
if pos.x == topos.x then
if pos.y < topos.y then
pos.y = topos.y + 1
else
pos.y = topos.y - 1
end
elseif pos.y == topos.y then
if pos.x < topos.x then
pos.x = topos.x + 1
else
pos.x = topos.x - 1
end
else
doPlayerSendTextMessage(cid,22,'Stand in front of the door.')
return 1
end
doTeleportThing(cid,pos)
doSendMagicEffect(topos,12)
else
doPlayerSendTextMessage(cid,22,'You need level ' .. accessneed .. ' to pass this door.')
end
return 1
else
return 0
end
end


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Wyświetl posty z ostatnich:   
Odpowiedz do tematu    Forum Tibia Forum Strona Główna -> Skrypty do OTS Wszystkie czasy w strefie EET (Europa)
Strona 1 z 1

 
Skocz do:  
Możesz pisać nowe tematy
Możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2002 phpBB Group

Arthur Theme
Regulamin