Autor |
Wiadomość |
Admoup |
|
 |
Gość |
|
 |
Wanta |
|
 |
Gość |
|
 |
Gość |
|
 |
Chino |
|
 |
Abhader9 |
|
 |
Kaziu |
Wysłany: Pon 14:24, 15 Sty 2007 Temat postu: |
|
a w jakim przypadk mozna uzyc tego?
a tak to fajny pomysł ;]
Moze zrobil bys jakies scrypty Monsterków |
|
 |
Defozo |
Wysłany: Pon 14:21, 15 Sty 2007 Temat postu: [7.6][action] Ruchome Drzwi |
|
Drzwi gdy się przesunie dźwignie otwieraja lub zamykaja sie drzwi
Kod: | function onUse(cid, item, frompos, item2, topos)
drzwipos = {x=100, y=100, z=7, stackpos=1} -- pozycja drzwi
getdrzwi = getThingfromPos(drzwipos)
if item.itemid == 1945 and item.uid == 1234 then
doTransformItem(item.uid, item.itemid + 1)
doRemoveItem(getdrzwi.uid,1)
doCreateItem(3537,1,drzwipos)
elseif item.itemid == 1946 and item.uid == 1234 then
doTransformItem(item.uid, item.itemid - 1)
doRemoveItem(getdrzwi.uid,1)
doCreateItem(3535,1,drzwipos)
end
return 1
end
|
To tyle
Comment Plx |
|
 |