TenTypSwir
NNSTORY.EU Developer
- Joined
- Jun 8, 2010
- Messages
- 1,657
- Reaction score
- 117
data/creaturescripts/scripts/nazwa.lua
PHP:
function onAdvance(cid, skill, oldlevel, newlevel)
if getPlayerStorageValue(cid, 12005) == -1 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetExperienceRate(cid, 0)
end
end
if getPlayerStorageValue(cid, 12005) >= 1 then
doPlayerSetExperienceRate(cid, getConfigInfo('rateExperience'))
end
end
data/creaturescripts/creaturescripts.xml
Code:
<event type="advance" name="Nazwa" event="script" value="nazwa.lua"/>
data/creaturescripts/creaturescripts/login.lua
Nad ostatnim "return true"
Code:
registerCreatureEvent(cid, "Nazwa")
Skrypt polega na "zablokowaniu" wbijania wiekszego poziomu niz 400, po ukonczeniu questu o storage 12005 mozna expic ile sie chce :>
Zabraniam kopiowania zawarto?ci na inne fora/serwisy.
Notka moderatorska: |
+10 pkt do konkursu! |