wklejto.pl

Dodane przez: ~Anonim (2010-03-10 22:25) -> text
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
 local mob = {
             [\'Merihathor\'] = {
                               itms = {[1] = 1486, [2] = 1404},
                               pos = {x = 1, y = 1, z = 1, stackpos = 1},
                               time = 5*60*1000
                              }
            }
onKill(cid, target, lastHit)
 local mobs = mob[getCreatureName(cid)]
 
     if mobs ~= nil then
           local function on_items()
                   if getThingfromPos(mobs.pos).itemid == mobs.itms[2] then
                       doTransformItem(getThingfromPos(gatepos).uid, mobs.itms[1])
                   end
                 end
        if getThingfromPos(mobs.pos).itemid == mobs.itms[1] then
             doTransformItem(getThingfromPos(gatepos).uid, mobs.itms[2])
             addEvent(on_items, mobs.time)
             doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, \"Please contact to GM\")
        end
     end
 
return true
end
Wygenerowano w 0.007s, przy pomocy GeSHi 1.0.8
'
Podziel się na Facebook Podziel się na BLIP Podziel się na Twitter Podziel się na Buzz Podziel się na Flaker Dodaj zakładkę Google Podziel się na Delicious Wykop to! Poinformuj znajomych przez E-mail

Nowy Komentarz:

Komentarze:

Brak Komentarzy!