function onSay(cid, words, param)
local voc = (1, 2, 15}
if getPlayerVocation(cid) == 1 and 2 then
if isInArray(voc, getPlayerVocation(cid)) == true then
if getPlayerItemCount(cid, 9971) >= 1 then
if getPlayerSkill(cid, 5) <= 350 then
doPlayerRemoveItem(cid, 9971, 3)
doPlayerSetSkill(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD)+1)
else
doPlayerSendTextMessage(cid, TALKTYPE_ORANGE_1, "Você tem o skill full.")
return true
end
else
doPlayerSendTextMessage(cid, TALKTYPE_ORANGE_1, "Você não tem barras de ouro suficientes.")
return true
end
else
doPlayerSendTextMessage(cid, TALKTYPE_ORANGE_1, "Você é bugado.")
return true
end
end
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Script Simples! Vale Rep+
2
456
info
Grupo: Conde
Registrado: 16/06/08
Posts: 998
Reputação: +185
Gênero: Masculino

16 de julho de 2011 às 18:45

info
Grupo: Campones
Registrado: 12/07/11
Posts: 1
Reputação: -1
Char no Tibia: {ADM} Igorzera
È o seguinte, tenho esse script aki
Eh quero que mude lá nas vocações coloca pras vocações numero 1,2 e 15
Valendo REP+ em galera, obrigado.