Witam potrzebuje to coś żeby dało się to używać DO 250 lvla.
Pomoże ktoś? z góry dziękuje oczywiście rep
eace:
Pomoże ktoś? z góry dziękuje oczywiście rep
Code:
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,2674) == 666666 then
doPlayerSendTextMessage(cid,22,"Sorry You Cant use this item again.")
elseif getPlayerStorageValue(cid,2674) == 1 then
doRemoveItem(item.uid, 1)
doSendMagicEffect(topos,14)
doPlayerSay(cid," 300 experiance Up",1)
doPlayerAddExp(cid, 300)
setPlayerStorageValue(cid,6660,2)
else
doRemoveItem(item.uid, 1)
doSendMagicEffect(topos,14)
doPlayerSay(cid," 7700 experiance Up",1)
doPlayerAddExp(cid, 7700)
setPlayerStorageValue(cid,2674,1)
end
end