|
- Forum nie tylko o Tibii i OTS... http://www.tibia11.pun.pl/index.php - Pytania/problemy http://www.tibia11.pun.pl/viewforum.php?id=22 - Prosze o pomoc z dĽwigni±! http://www.tibia11.pun.pl/viewtopic.php?id=855 |
| sensibles - 2007-08-23 20:09:07 |
Witam! ;) |
| patryk12 - 2007-08-23 20:38:54 |
Kod:function onUse(cid, item, frompos, item2, topos)
gatepos = {x=564, y=805, z=9, stackpos=1} pozycja kamienia
getgate = getThingfromPos(gatepos)
if item.uid == 1002 and item.itemid == 1945 and getgate.itemid == 3361 then --id sciany mozesz to zmienic
doRemoveItem(getgate.uid,1)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 1002 and item.itemid == 1946 and getgate.itemid == 0 then
doCreateItem(3361,1,gatepos) -- id sciany tez mozesz zmienic
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Sorry not possible.")
end
return 1
endw dzwigni wpisz 1002 i teraz dzwignia usuwa sciane o id3361 i w actions.xml Kod:<action uniqueid="1002" script="poi18.lua" /> a zapisz to w data-->action-->script jako poi18.lua |
| sensibles - 2007-08-24 08:43:00 |
Bardzo dziękuję!!!!!! BARDZOOOOOOOO mi pomogłe¶!! :) |