Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local msg = {
- msg1 = "Parabens, voce obteve double exp!.",
- msg2 = "Desculpe, voce nao obteve double exp!."
- }
- local rates = 2
- -- End Configs --
- function onUse(cid, item, frompos, item2, topos)
- if isPremium(cid) and doPlayerRemoveMoney(cid, 2000) == TRUE then
- doPlayerSetMagicRate(cid, rates * 60)
- doPlayerPopupFYI(cid, msg.msg1)
- end
- else
- doPlayerPopupFYI(cid, msg.msg2)
- end
- return TRUE
- end
Advertisement
Add Comment
Please, Sign In to add comment