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
- Forums
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Script Simples! Vale Rep+
2
484
info
Group: Conde
Joined: 16/06/08
Posts: 998
Reputation: +185
Gender: Masculino

16 de julho de 2011 às 18:45

info
Group: Campones
Joined: 12/07/11
Posts: 1
Reputation: -1
Tibia Character: {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.