
Tibiawix
Membro
-
Registro em
-
Última visita
Solutions
-
Tibiawix's post in (Resolvido)Char comprando Vip por adena was marked as the answerEssas?
function onUse(cid, item, fromPosition, itemEx, toPosition)
local name = getCreatureName(cid)
-- if getPlayerStorageValue(cid,11551) < 1 then
if getPlayerLevel(cid) > 1 then
getPlayerStorageValue(cid, 11551)
doSendAnimatedText(getPlayerPosition(cid), "VIP PACC!", TEXTCOLOR_LIGHTGREEN)
doCreatureSay(cid, "Welcome VIP Player!", TALKTYPE_ORANGE_1)
doBroadcastMessage("Bem vindo" .. name .. "! Agora você é um player VIP. [:")
setPlayerStorageValue(cid, 11551, (getPlayerStorageValue(cid,11551) + 60))
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,"Necessario Ser Nivel 2 ou mais Para Usar.")
doRemoveItem(item.uid, 1)
end
-- else
-- doPlayerSendCancel(cid,"Tu Ya Eres Un Donador....")
-- end
return TRUE
end
Consegui achar ja, fuçei tanto quea chei, Obrigado mesmo assim!
-
Tibiawix's post in (Resolvido)Colocar Obrigado após comprar item Vip was marked as the answerConsegui achar sozinho, Resolvido!