Fala galera, hoje eu venho aqui para compartilhar com vocês um script q foi muito dificil de achar e espero que vocês entendam e gostem ;D
Esse script é basicamente o seguinte, você ta cansado dakele Varkhal que qualquer noob level 8 vai la e compra a full addon, então que tal um sistema que, apenas os merecedores podem ter as addons? Que tal uma fonte que, ao clicar o player ganha uma full addon???? Gostou? Ai vai:
Abra a pasta do seu OT>Data>Actions>Actions.xml
Coloque isso em qualquer lugar entre o <actions> e o </actions>:
<action uniqueid="8913" script="addons.lua"> <action uniqueid="8914" script="addons.lua"> <action uniqueid="8915" script="addons.lua"> <action uniqueid="8916" script="addons.lua">
-
Salve, feche, e abra a pasta Scripts;
Copie e cole qualquer arquivo LUA;
Renomeie para addons;
Abra, apague tudo e cole isso:
if item.uid == 8913 then queststatus = getPlayerStorageValue(cid,1500) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found the citizen addon full.") doPlayerAddOutfit(cid, 128, 3) doPlayerAddOutfit(cid, 136, 3) setPlayerStorageValue(cid,1500,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 8914 then queststatus = getPlayerStorageValue(cid,1600) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found the hunter addon full.") doPlayerAddOutfit(cid, 129, 3) doPlayerAddOutfit(cid, 137, 3) setPlayerStorageValue(cid,1600,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 8915 then queststatus = getPlayerStorageValue(cid,1700) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found the mage addon full.") doPlayerAddOutfit(cid, 138, 3) doPlayerAddOutfit(cid, 130, 3) setPlayerStorageValue(cid,1700,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 8916 then queststatus = getPlayerStorageValue(cid,1800) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found the knight addon full.") doPlayerAddOutfit(cid, 139, 3) doPlayerAddOutfit(cid, 131, 3) setPlayerStorageValue(cid,1800,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end else return 0 end return 1 end
Ai vocês editam, mudam ali o "doPlayerAddOutfit(cid, 131, 3)" pro addon que vocês querem
Citizen: 136/128 - 3 Hunter: 137/129 - 3 Mage: 138/130 - 3 Knight: 139/131 - 3 Nobleman: 140/132 - 3 Summoner: 141/133 - 3 Warrior: 142/134 - 3 Barbarian: 147/143 - 3 Druid: 148/144 - 3 Wizard: 149/145 - 3 Oriental: 150/146 - 3 Pirate: 155/151 - 3 Assassin: 156/152 - 3 Beggar: 157/153 - 3 Shaman: 158/154 - 3 Norseman: 252/151 - 3 Nightmare: 269/268 - 3 Jester: 270/273 - 3 Brotherhood: 279/278 - 3 Demonhunter: 288/289 - 3 Yalaharian: 342/325 - 3
Créditos:
80% Danitero
20% Outros que serviram de base ;D
É isso ae pessoal, espero ter ajudado
OBS: Se alguém quiser arrumar porquê isso aqui ficou muito feio, pode refazer mas põe meus créditos plx ^^"