Ir para conteúdo

ravely16

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    ravely16 recebeu reputação de letabe12 em Algum script de Skull System que funcione?   
    Alguem tem um script daquele mod que normalmente tem em ot de war que a certo frags os players ficam com skull,Yellow Skull , Green Skull .... quem tiver REP+.
  2. Gostei
    ravely16 recebeu reputação de Bruno4312 em Algum script FRAGLOOK igual a esse .   
    Alguém pode fazer ou se tiver me passar um script fraglook igual a esse que eu vi em um serv .
     

     
  3. Gostei
    ravely16 deu reputação a Luquinha em Baú que vende itens   
    Vá em data > actions > scripts

    E crie um arquivo nomedoitem.lua

    e adicione isso dentro dele
    local coin = 9020 -- sua moeda vip local lever = { [6001] = {30,7429}, [6002] = {20,7366}, [6003] = {10,8926}, [6004] = {5,5978} } function onUse(cid,item,fromPosition,itemEx,toPosition) if doPlayerRemoveItem(cid,coin,lever[item.actionid][1]) == FALSE then return doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "você precisa de "..lever[item.actionid][1].." " ..getItemNameById(coin)) end doPlayerAddItem(cid,lever[item.actionid][2], isItemStackable(lever[item.actionid][2]) and 100 or 1) doPlayerSendTextMessage(cid,22,"você comprou um " .. getItemNameById(lever[item.actionid][2])) doSendMagicEffect(getCreaturePosition(cid), math.random(28,30)) return true end  
    Configuração:

    [6001] = {30,7429},

    [ActionID do báu ou alavanca] = {Quanto vai custar, ID DO ITEM QUE SERÁ VENDIDO}


    a tag é essa:


    <action actionid="6001-6004" script="nome do seu script.lua"/>

    lembrando que pode adicionar mais, e fazendo isso você deve aumentar na tag também, exemplo:


    local lever = {
    [6001] = {30,7429},
    [6002] = {20,7366},
    [6003] = {10,8926},
    [6004] = {5,5978},
    [6005] = {15,7708}
    }

    e a tag ficaria assim

    <action actionid="6001-6005" script="nome do seu script.lua"/>
  4. Gostei
    ravely16 deu reputação a MaXwEllDeN em [Resolvido] Como adiciona mais uma vocação nos firstitens?   
    local commonItems = { -- ITEMS ALL VOCS RECEIVE {2120, 1}, -- rope {2789, 100}, -- brown mushrooms {2305, 1}, -- fire bomb rune {2261, 1}, -- destroy field rune } local firstItems = { [1] = { -- [VOC 1] SORC ITEMS {2323, 1}, -- hat of the mad {8871, 1}, -- focus cape {7730, 1}, -- blue legs {2195, 1}, -- boots of haste {8902, 1}, -- spellbook of mind control {2187, 1}, -- wand of inferno {2268, 1}, -- sd {2273, 1}, -- uh {7590, 1}, -- gmp {2293, 1}, -- mw }, [2] = { -- [VOC 2] DRUID ITEMS {2323, 1}, -- hat of the mad {8871, 1}, -- focus cape {7730, 1}, -- blue legs {2195, 1}, -- boots of haste {8902, 1}, -- spellbook of mind control {2183, 1}, -- hailstorm rod {2268, 1}, -- sd {2273, 1}, -- uh {7590, 1}, -- gmp {2293, 1}, -- mw {2269, 1}, -- wg {2278, 1}, -- para }, [3] = { -- [VOC 3] WARLORD ITEMS {2493, 1}, -- demon helmet {2472, 1}, -- magic plate armor {2470, 1}, -- golden legs {2195, 1}, -- boots of haste {2514, 1}, -- mastermind shield {2400, 1}, -- magic sword {2431, 1}, -- Stonecutter Axe {7620, 1}, -- mp {8473, 1}, -- uhp {2313, 1}, -- explosion {2293, 1}, -- mw }, [4] = { -- [VOC 4] PALADIN ITEMS {2493, 1}, -- demon helmet {8891, 1}, -- paladin armor {7730, 1}, -- blue legs {2195, 1}, -- boots of haste {2514, 1}, -- mastermind shield {7368, 10}, -- assassin stars {2268, 1}, -- sd {2273, 1}, -- uh {8472, 1}, -- gsp {7589, 1}, -- smp {7588, 1}, -- shp {2293, 1}, -- mw }, [5] = { -- [VOC 5] KNIGHT ITEMS {2493, 1}, -- demon helmet {2472, 1}, -- magic plate armor {2470, 1}, -- golden legs {2195, 1}, -- boots of haste {2514, 1}, -- mastermind shield {2400, 1}, -- magic sword {2431, 1}, -- Stonecutter Axe {7620, 1}, -- mp {8473, 1}, -- uhp {2313, 1}, -- explosion {2293, 1}, -- mw } } for _, items in ipairs(firstItems) do for _, item in ipairs(commonItems) do table.insert(items, item) end end function onLogin(cid) if getPlayerGroupId(cid) < 2 then local hasReceivedFirstItems = getPlayerStorageValue(cid, 67708) if hasReceivedFirstItems == -1 then doPlayerAddItem(cid, 1988, 1) local giveItems = firstItems[getPlayerVocation(cid)] if giveItems then for _, v in ipairs(giveItems) do doPlayerAddItem(cid, v[1], v[2] or 1) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have recieved your equipment") setPlayerStorageValue(cid, 67708, 1) end end end return true end

    Bro, se liga;

    [3] = { -- [VOC 3] WARLORD ITEMS


    Só é mudar onde está em vermelho pro id da sua vocação.

Informação Importante

Confirmação de Termo