Potrzebuj? aby kto? napisa? mi skrypta na itemki za lvl. np je?eli jestem druidem to na 50 levelu otrzymam r?zge dla druida o danym id, a je?eli sorcererem to rozczke dla sorca.. je?eli kto? mnie nie rozumie to pisa? ;PP
Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
local text = "You have been rewared item your progress!" --Text when he gets level 50
local storage = 44569
function onAdvance(cid, skill, oldLevel, newLevel)
status = getPlayerStorageValue(cid,storage)
if getPlayerLevel(cid) > 60 and status == -1 then
if isDruid(cid) == TRUE then
doPlayerAddItem(cid,8910,1)
doPlayerSendTextMessage(cid,22,text)
setPlayerStorageValue(cid, storage, 1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FIREWORK_YELLOW)
elseif isKnight(cid) == TRUE then
doPlayerAddItem(cid,2432,1)
doPlayerAddItem(cid,2436,1)
doPlayerAddItem(cid,2407,1)
setPlayerStorageValue(cid, storage, 1)
doPlayerSendTextMessage(cid,22,text)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FIREWORK_YELLOW)
elseif isPaladin(cid) == TRUE then
doPlayerAddItem(cid,2547,1)
setPlayerStorageValue(cid, storage, 1)
doPlayerSendTextMessage(cid,22,text)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FIREWORK_YELLOW)
elseif isSorcerer(cid) == TRUE then
doPlayerAddItem(cid,8922,1)
setPlayerStorageValue(cid, storage, 1)
doPlayerSendTextMessage(cid,22,text)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FIREWORK_YELLOW)
end
end
return TRUE
end
| Notka moderatorska: |
| OT Expert +1 |