• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help with Script

Deaven

New Member
Joined
Jun 1, 2009
Messages
55
Reaction score
2
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:
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 +
 
Back
Top