Sezamek112
Active User
- Joined
- Sep 15, 2012
- Messages
- 68
- Reaction score
- 2
Witam skrypt nie mego autorstwa ale postanowi?em go wrzuci? 
Wiec wchodzimy w :
data/actions/actions.xml i dodajemy:
[XML] <action itemid="8189" event="script" value="other/premscroll.lua"/>[/XML]
potem wchodzimy w data/actions/scripts i dodajemy plik o rozszerzeniu .lua np.: premscroll.lua a w nim
[LUA]function onUse(cid, item, frompos, item2, topos)
if item.itemid == 8189 then
doPlayerAddPremiumDays(cid, 31)
doRemoveItem(item.uid,8189)
doSendMagicEffect(getPlayerPosition(cid),3)
doCreatureSay(cid, '31 days of pacc!', TALKTYPE_ORANGE_1)
end
end [/LUA]
Ps. Powtarzam skrypt nie mojego autorstwa.
Pozdrawiam
Wiec wchodzimy w :
data/actions/actions.xml i dodajemy:
[XML] <action itemid="8189" event="script" value="other/premscroll.lua"/>[/XML]
potem wchodzimy w data/actions/scripts i dodajemy plik o rozszerzeniu .lua np.: premscroll.lua a w nim
[LUA]function onUse(cid, item, frompos, item2, topos)
if item.itemid == 8189 then
doPlayerAddPremiumDays(cid, 31)
doRemoveItem(item.uid,8189)
doSendMagicEffect(getPlayerPosition(cid),3)
doCreatureSay(cid, '31 days of pacc!', TALKTYPE_ORANGE_1)
end
end [/LUA]
Ps. Powtarzam skrypt nie mojego autorstwa.
Pozdrawiam