Untitled

mail@pastecode.io avatar
unknown
plain_text
11 days ago
549 B
1
Indexable
Never
local config = {
animationColor = TEXTCOLOR_LIGHTBLUE, --[[Cor da animação | Padrão = Azul Claro]]
textType = TALKTYPE_ORANGE_1, --[[Cor do Texto | Padrão = Verde]]
expGain = 5000000 -- quanto vai ganhar de exp
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerAddExp(cid, config.expGain)
doSendAnimatedText(getThingPosition(cid), config.expGain, config.animationColor)
doPlayerSendTextMessage(cid, config.textType, "Acabas De Recibir ".. config.expGain .." experience")
doRemoveItem(item.uid, 1)
return TRUE
end
Leave a Comment