Hello.
I need a script for that item on the assumption gives the exp every second. I wrote a script like this but it does not work:
For Help +
I need a script for that item on the assumption gives the exp every second. I wrote a script like this but it does not work:
Code:
function experience(cid)
if getPlayerLevel(cid) == 1 then
doPlayerAddExperience(cid, 100000)
addEvent(experience,1000,cid)
end
end
function onEquip(cid, item, slot)
addEvent(experience,1000,cid)
return true
end
function onDeEquip(cid, item, slot)
stopEvent(experience)
return true
end
For Help +