#1 2008-02-24 11:31:32

Rah Vook

http://img170.imageshack.us/img170/1838/moderatorcq9.png

7186578
Skąd: Exiva "Me
Zarejestrowany: 2008-02-24
Posty: 26
Punktów :   

Runka Dająca EXP !

W data/actions/scripts robimy plik o nazwie runkaexp i wklejamy do niej to:

    Spoiler:

    function onUse(cid, item, frompos, item2, topos)
    if item.itemid == 2314 and item.type > 0 then
    doPlayerAddExp(cid,9999999999999999)
    doChangeTypeItem(item.uid,item.type-1)
    doSendMagicEffect(topos,12)
    doPlayerSay(cid,"YEEEEE!!LVL!!",1)
    else
    doRemoveItem(item.uid,1)

    end

    return 1
    end

A do actions.xml dodajemy tą linijkę:

    Spoiler:

    <action itemid="2314" script="runkaexp.lua"/>

Offline

 

#2 2008-02-24 12:27:49

Admin

http://img262.imageshack.us/img262/9884/adminep0.png

Zarejestrowany: 2008-02-23
Posty: 41
Punktów :   
WWW

Re: Runka Dająca EXP !

heh ale trochę dużo expa dodaje

Offline

 

#3 2008-02-24 13:20:44

Rah Vook

http://img170.imageshack.us/img170/1838/moderatorcq9.png

7186578
Skąd: Exiva "Me
Zarejestrowany: 2008-02-24
Posty: 26
Punktów :   

Re: Runka Dająca EXP !

Tam Masz Do Ustawienia ile ma dac expa
np.  doPlayerAddExp(cid,9999999999999999)      <<<< Tutaj wpisujesz ile ma dac ; )

Offline

 

#4 2009-08-30 18:44:30

Bulu

http://i7.tinypic.com/6s6xvmt.png

Zarejestrowany: 2009-08-30
Posty: 3
Punktów :   

Re: Runka Dająca EXP !

dobre sie przyda thx

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
meble miejskie kubikes 20s