LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 1)
doPlayerSendTextMessage(cid,22,'Enlighted.')
doRemoveItem(item.uid, 1)
return true
end
So, the
LUA:
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 1)
I'm just trying to start making my own scripts, so far I've managed a few.. Easier ones, but this one is above me;p
Thanks in advance for your help!