Usa assim:
function onSay(cid, words, param) if getPlayerBlessing(cid, 1) or getPlayerBlessing(cid, 2) or getPlayerBlessing(cid, 3) or getPlayerBlessing(cid, 4) or getPlayerBlessing(cid, 5) then doPlayerSendCancel(cid,'You have already got one or more blessings!') else if vip.hasVip(cid) == TRUE then if doPlayerRemoveMoney(cid, 50000) == TRUE then doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) doSendMagicEffect(getPlayerPosition(cid), 49) doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'You have been blessed by the gods!') else doPlayerSendCancel(cid, "You need 50.000 gold coins to get blessed!") end else doPlayerSendCancel(cid, "Only vip players can use the comand.") end end return TRUE end






info
Grupo: Campones
Registrado: 28/07/08
Posts: 2
Reputação: 0
Char no Tibia: n tenhu
Booooa noite, estou usando o vip system by mock ( sistema perfeito por account aliás) e eu peguei o script de bless por comando, mas gostaria de saber como que eu adiciono um comando para fazer só player vips usarem.
eu fiz um comando mas não sei se esta certo.
Obrigado pela atenção e por sua ajuda.
Edit. fui vendo alguns comandos do sistema e alterei para isso.
esta certo?
Editado Junho 21 por LordRICKY