Ogłoszenie


#1 2008-10-14 11:38:30

Danielxlol

http://xcmtb.pl/forum/templates/subSilver/images/ranks/administrator.gif

Zarejestrowany: 2008-10-13
Posty: 13
Punktów :   

Multi Runka

Siemnko wszystkim! Dzisiaj chcialbym wam zaprezentowac runke ktora dodaje hp, mane, kase(100cc) i skille!!! Skrypty sprawdzane na OTS 8.1!
A więc tak w data/actions/scripts tworzymy plik o nazwie magicrune2 i wklejamy to:

Spoiler:

function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2287 and item.type > 0 then
doPlayerAddMana(cid,10000)
doPlayerAddHealth(cid,10000)
doPlayerAddSkillTry(cid,1,200000)
doPlayerAddSkillTry(cid,2,200000)
doPlayerAddSkillTry(cid,3,200000)
doPlayerAddSkillTry(cid,4,200000)
doPlayerAddSkillTry(cid,5,200000)
doPlayerAddSkillTry(cid,6,200000)
doPlayerAddSkillTry(cid,7,200000)
doPlayerAddItem(cid,2160,100)
doChangeTypeItem(item.uid,item.type-1)
doSendMagicEffect(topos,13)
doPlayerSay(cid,"Big Pczka!!!",1)
else
doRemoveItem(item.uid,1)

end

return 1
end

A do actions/actions.xml dodajemy tą linijke:

Spoiler:

<action itemid="2287" script="magicrune2.lua"/>

(Skrypt nie mój!!!)

Offline

 

Stopka forum

RSS
Powered by PunBB 1.2.23
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.fantasyimy.pun.pl www.potterwarta.pun.pl www.kingdomyaoi.pun.pl www.hamak-ots.pun.pl www.poke-adventure.pun.pl