function onUse(cid, item, fromPosition, itemEx, toPosition)
setPlayerStorageValue(cid, 87438, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DECR, "You are supposed to learn the basic things. Look at examples from other scripts, ask for guidence if you can't find something or don't understand what is wrong.")
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "It's fine to request scripts, but that does not mean you should never try anything yourself.")
return true
end
function onLogin(cid)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DECR, "You can't expect people to do all your work simply because you refuse to do anything yourself.")
if getPlayerStorageValue(cid, 87438) == 1 then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)
-- other types: PLAYERLOSS_CONTAINERS, PLAYERLOSS_ITEMS. You can find constant names in data/lib/000-constant.lua
end
return true
end