• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Help me with this script please? tfs 1.x training dummy

simbabrasil

New Member
Joined
Apr 23, 2023
Messages
31
Reaction score
1
Hi guys, can smn help me with my script? I need that player could bring back the dummy, need a time to expire the monster and also a block tile like 3x3 sqm so ppl couldnt trap entrances with it, its a item and when player use the item it creates a Training Dummy.


function onUse(cid, item, frompos, item2, topos)
if getTileInfo(getCreaturePosition(cid)).protection == TRUE then
doPlayerSendTextMessage(cid,20,"Go another place")
doSendMagicEffect(getCreaturePosition(cid),2)
return true
end
if (item.itemid == 17171) then
local position = getPlayerPosition(cid)
local monster = Game.createMonster("Training Dummy", position)
if monster then
position:sendMagicEffect(CONST_ME_MAGIC_BLUE)
doPlayerSendTextMessage(cid,25,"Seu Training Monk foi sumonado")
Item(item.uid):remove(1)
return true
end
end
end
 
Hi guys, can smn help me with my script? I need that player could bring back the dummy, need a time to expire the monster and also a block tile like 3x3 sqm so ppl couldnt trap entrances with it, its a item and when player use the item it creates a Training Dummy.


function onUse(cid, item, frompos, item2, topos)
if getTileInfo(getCreaturePosition(cid)).protection == TRUE then
doPlayerSendTextMessage(cid,20,"Go another place")
doSendMagicEffect(getCreaturePosition(cid),2)
return true
end
if (item.itemid == 17171) then
local position = getPlayerPosition(cid)
local monster = Game.createMonster("Training Dummy", position)
if monster then
position:sendMagicEffect(CONST_ME_MAGIC_BLUE)
doPlayerSendTextMessage(cid,25,"Seu Training Monk foi sumonado")
Item(item.uid):remove(1)
return true
end
end
end
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local monsterName = "Rat" -- Nome do monstro a ser invocado

    -- Verifica se o jogador está em uma zona de proteção
    if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
        player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
        return true
    end

    -- Verifica se há paredes ou itens ao redor do jogador
    local directions = {NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST}
    local validPositions = {}
    for i = 1, #directions do
        local checkPosition = player:getPosition()
        checkPosition:getNextPosition(directions[i])
        local tile = Tile(checkPosition)
        if tile and not (tile:hasFlag(TILESTATE_BLOCKSOLID) or tile:getTopVisibleThing() ~= nil) then
            table.insert(validPositions, checkPosition)
        end
    end

    -- Verifica se há posições válidas para invocar o monstro
    if #validPositions == 0 then
        player:sendCancelMessage("Você não pode usar este item aqui.")
        return true
    end

    -- Escolhe aleatoriamente uma posição válida para invocar o monstro e remove o item usado
    local summonPosition = validPositions[math.random(#validPositions)]
    Game.createMonster(monsterName, summonPosition)
    item:remove(1)
    return true
end
 
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local monsterName = "Rat" -- Nome do monstro a ser invocado

    -- Verifica se o jogador está em uma zona de proteção
    if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
        player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
        return true
    end

    -- Verifica se há paredes ou itens ao redor do jogador
    local directions = {NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST}
    local validPositions = {}
    for i = 1, #directions do
        local checkPosition = player:getPosition()
        checkPosition:getNextPosition(directions[i])
        local tile = Tile(checkPosition)
        if tile and not (tile:hasFlag(TILESTATE_BLOCKSOLID) or tile:getTopVisibleThing() ~= nil) then
            table.insert(validPositions, checkPosition)
        end
    end

    -- Verifica se há posições válidas para invocar o monstro
    if #validPositions == 0 then
        player:sendCancelMessage("Você não pode usar este item aqui.")
        return true
    end

    -- Escolhe aleatoriamente uma posição válida para invocar o monstro e remove o item usado
    local summonPosition = validPositions[math.random(#validPositions)]
    Game.createMonster(monsterName, summonPosition)
    item:remove(1)
    return true
end
vlw por responder, testei e ele não deixa eu criar em nenhum lugar o monstro, mesmo q a area esteja totalmente aberta
 
vlw por responder, testei e ele não deixa eu criar em nenhum lugar o monstro, mesmo q a area esteja totalmente aberta
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local monsterName = "Rat" -- Nome do monstro a ser invocado

    -- Verifica se o jogador está em uma zona de proteção
    if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
        player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
        return true
    end

    -- Verifica se há paredes ou itens ao redor do jogador
    local directions = {NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST}
    local validPositions = {}
    for i = 1, #directions do
        local checkPosition = player:getPosition()
        checkPosition:getNextPosition(directions[i])
        local tile = Tile(checkPosition)
        if tile then
            if tile:hasFlag(TILESTATE_BLOCKSOLID) then
                player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                return true
            else
                local topThing = ItemType(tile:getTopVisibleThing())
                if topThing and (not topThing:isGroundTile() or not topThing:isMovable()) then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                elseif tile:getTopCreature() ~= nil then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                else
                    table.insert(validPositions, checkPosition)
                end
            end
        end
    end

    -- Escolhe aleatoriamente uma posição válida para invocar o monstro e remove o item usado
    local summonPosition = validPositions[math.random(#validPositions)]
    Game.createMonster(monsterName, summonPosition)
    item:remove(1)
    return true
end
 
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local monsterName = "Rat" -- Nome do monstro a ser invocado

    -- Verifica se o jogador está em uma zona de proteção
    if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
        player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
        return true
    end

    -- Verifica se há paredes ou itens ao redor do jogador
    local directions = {NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST}
    local validPositions = {}
    for i = 1, #directions do
        local checkPosition = player:getPosition()
        checkPosition:getNextPosition(directions[i])
        local tile = Tile(checkPosition)
        if tile then
            if tile:hasFlag(TILESTATE_BLOCKSOLID) then
                player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                return true
            else
                local topThing = ItemType(tile:getTopVisibleThing())
                if topThing and (not topThing:isGroundTile() or not topThing:isMovable()) then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                elseif tile:getTopCreature() ~= nil then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                else
                    table.insert(validPositions, checkPosition)
                end
            end
        end
    end

    -- Escolhe aleatoriamente uma posição válida para invocar o monstro e remove o item usado
    local summonPosition = validPositions[math.random(#validPositions)]
    Game.createMonster(monsterName, summonPosition)
    item:remove(1)
    return true
end
Valeu pela atenção mano, mas ainda está do mesmo jeito, em qualquer lugar fala que não pode sumonar, dentro do pz fala a msg de pz e fora nao deixa colocar em nenhum lugar dando a msg que precisa de espaço, mas de qualquer forma vlw a intenção mano vou tentando aqui, esse de dummy nao tem em lugar nenhum é foda :S
 
Valeu pela atenção mano, mas ainda está do mesmo jeito, em qualquer lugar fala que não pode sumonar, dentro do pz fala a msg de pz e fora nao deixa colocar em nenhum lugar dando a msg que precisa de espaço, mas de qualquer forma vlw a intenção mano vou tentando aqui, esse de dummy nao tem em lugar nenhum é foda :S
Tem algo de errado pois esse ai eu testei e funcionou aqui, inclusive ele sumona em umas das posições ao redor do jogador. Qual versão do tfs você está usando?

There's something wrong because I tested this one and it worked here, it even summons in one of the positions around the player. What version of tfs are you using?
 
Tem algo de errado pois esse ai eu testei e funcionou aqui, inclusive ele sumona em umas das posições ao redor do jogador. Qual versão do tfs você está usando?

There's something wrong because I tested this one and it worked here, it even summons in one of the positions around the player. What version of tfs are you using?
Cara te falar a verdade nem sei sempre procuro script tfs 1.x e funcionam mas nem entendo se 1.x é uma versão ou está se referindo a 1.x+, isso não sei mas funcionam kkk por isso coloquei aí tfs 1.x, é server nostalrius fork

e esse script q eu tentei fazer fui tirando coisa, tipo pz tirei de runa, o gma.create tirei da runa animate dead, tipo eu não manjo fzer mas vou tirando de um e de outro e funciona
 
Cara te falar a verdade nem sei sempre procuro script tfs 1.x e funcionam mas nem entendo se 1.x é uma versão ou está se referindo a 1.x+, isso não sei mas funcionam kkk por isso coloquei aí tfs 1.x, é server nostalrius fork

e esse script q eu tentei fazer fui tirando coisa, tipo pz tirei de runa, o gma.create tirei da runa animate dead, tipo eu não manjo fzer mas vou tirando de um e de outro e funciona
Pega o script que te mandei, tem 3 msgs dizendo que precisa de espaço para sumonar, altera as 3 msg para tipo 1 2 e 3, assim você vai identificar em qual das funções está impedindo você de sumonar o monstro(acho que é a segunda), com isso poderemos saber qual modificação é necessária.
Nostalrius é baseado no 1.2 se não me engano, mas ai invés de tu por 1.x, poem nostalrius
Outro ponto é que o fórum é inglês, você precisa sempre responder em inglês pois senão suas msgs serão deletadas.

--

Take the script I sent you, there are 3 msgs saying you need space to summon, change the 3 msgs to type 1 2 and 3, so you will identify which of the functions is preventing you from summoning the monster, with that we will be able to know which one modification is required. Nostalrius is based on 1.2 if I'm not mistaken, but instead of saying 1.x, say nostalrius Another point is that the forum is English, you always need to answer in English otherwise your messages will be deleted.
 
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local monsterName = "Rat" -- Nome do monstro a ser invocado

    -- Verifica se o jogador está em uma zona de proteção
    if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
        player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
        return true
    end

    -- Verifica se há paredes ou itens ao redor do jogador
    local directions = {NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST}
    local validPositions = {}
    for i = 1, #directions do
        local checkPosition = player:getPosition()
        checkPosition:getNextPosition(directions[i])
        local tile = Tile(checkPosition)
        if tile then
            if tile:hasFlag(TILESTATE_BLOCKSOLID) then
                player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                return true
            else
                local topThing = ItemType(tile:getTopVisibleThing())
                if topThing and (not topThing:isGroundTile() or not topThing:isMovable()) then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                elseif tile:getTopCreature() ~= nil then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                else
                    table.insert(validPositions, checkPosition)
                end
            end
        end
    end

    -- Escolhe aleatoriamente uma posição válida para invocar o monstro e remove o item usado
    local summonPosition = validPositions[math.random(#validPositions)]
    Game.createMonster(monsterName, summonPosition)
    item:remove(1)
    return true
end
You don't have to look around, Game.createMonster already have this...
Game.createMonster(monsterName, position[, extended = false[, force = false]])

extended = get near tiles if cant summon in that position
Game.createMonster(monsterName, position, true)...

or, u can:
force = summon even if there's already a creature in that position..
Game.createMonster(monsterName, position, false, true)
Game.createMonster(monsterName, position, true, true)
Post automatically merged:

Lua:
-- There's no need at all to declaring this kind of variables inside a function......
local monsterName = "Rat" -- Nome do monstro a ser invocado

function onUse(player, item, fromPosition, target, toPosition, isHotkey)

  -- Verifica se o jogador está em uma zona de proteção
  if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
      player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
      return true
  end

  local position = player:getPosition()
  local monster = Game.createMonster(monsterName, position, true)
    if monster then
        monster:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
        position:sendMagicEffect(CONST_ME_MAGIC_RED)
        item:remove(1)
    else
        player:sendCancelMessage("There is not enough room.")
        position:sendMagicEffect(CONST_ME_POFF)
    end
 
  return true
end
 
Last edited:
Pega o script que te mandei, tem 3 msgs dizendo que precisa de espaço para sumonar, altera as 3 msg para tipo 1 2 e 3, assim você vai identificar em qual das funções está impedindo você de sumonar o monstro(acho que é a segunda), com isso poderemos saber qual modificação é necessária.
Nostalrius é baseado no 1.2 se não me engano, mas ai invés de tu por 1.x, poem nostalrius
Outro ponto é que o fórum é inglês, você precisa sempre responder em inglês pois senão suas msgs serão deletadas.

--

Take the script I sent you, there are 3 msgs saying you need space to summon, change the 3 msgs to type 1 2 and 3, so you will identify which of the functions is preventing you from summoning the monster, with that we will be able to know which one modification is required. Nostalrius is based on 1.2 if I'm not mistaken, but instead of saying 1.x, say nostalrius Another point is that the forum is English, you always need to answer in English otherwise your messages will be deleted.
ah blz mano nao sabia dessa de ingles, vlw ai, e vou tentar isso q vc falou

ty ill try what u said
Post automatically merged:

You don't have to look around, Game.createMonster already have this...
Game.createMonster(monsterName, position[, extended = false[, force = false]])

extended = get near tiles if cant summon in that position
Game.createMonster(monsterName, position, true)...

or, u can:
force = summon even if there's already a creature in that position..
Game.createMonster(monsterName, position, false, true)
Game.createMonster(monsterName, position, true, true)
Post automatically merged:

Lua:
-- There's no need at all to declaring this kind of variables inside a function......
local monsterName = "Rat" -- Nome do monstro a ser invocado

function onUse(player, item, fromPosition, target, toPosition, isHotkey)

  -- Verifica se o jogador está em uma zona de proteção
  if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
      player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
      return true
  end

  local position = player:getPosition()
  local monster = Game.createMonster(monsterName, position, true)
    if monster then
        monster:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
        position:sendMagicEffect(CONST_ME_MAGIC_RED)
        item:remove(1)
    else
        player:sendCancelMessage("There is not enough room.")
        position:sendMagicEffect(CONST_ME_POFF)
    end
 
  return true
end
i tried urs but it is not blocking tiles then it summoning in whatever place, but anyway ty for ur time, gonna try use ur informations too and make smth
Post automatically merged:

Pega o script que te mandei, tem 3 msgs dizendo que precisa de espaço para sumonar, altera as 3 msg para tipo 1 2 e 3, assim você vai identificar em qual das funções está impedindo você de sumonar o monstro(acho que é a segunda), com isso poderemos saber qual modificação é necessária.
Nostalrius é baseado no 1.2 se não me engano, mas ai invés de tu por 1.x, poem nostalrius
Outro ponto é que o fórum é inglês, você precisa sempre responder em inglês pois senão suas msgs serão deletadas.

--

Take the script I sent you, there are 3 msgs saying you need space to summon, change the 3 msgs to type 1 2 and 3, so you will identify which of the functions is preventing you from summoning the monster, with that we will be able to know which one modification is required. Nostalrius is based on 1.2 if I'm not mistaken, but instead of saying 1.x, say nostalrius Another point is that the forum is English, you always need to answer in English otherwise your messages will be deleted.
realmente cara, tentando aqui era a segunda mensagem que tava travando, tirei ela e funcionou

really was that second message was bugin the script, without that it working
 
Last edited:
ah blz mano nao sabia dessa de ingles, vlw ai, e vou tentar isso q vc falou

ty ill try what u said
Post automatically merged:


i tried urs but it is not blocking tiles then it summoning in whatever place, but anyway ty for ur time, gonna try use ur informations too and make smth
Post automatically merged:


realmente cara, tentando aqui era a segunda mensagem que tava travando, tirei ela e funcionou

really was that second message was bugin the script, without that it working
É a do topvisiblething? Problema que ela é necessario, previne de você perder o item em caso de não haver espaço para sumonar o monstro, deve ser que no nostalrius se usa ela de forma diferente ou eu estou errando mesmo.

--

It's the topvisiblething, right? Problem that it is necessary, it prevents you from losing the item in case there is no space to summon the monster, it must be that nostalrius uses it differently or I am really wrong.
 
É a do topvisiblething? Problema que ela é necessario, previne de você perder o item em caso de não haver espaço para sumonar o monstro, deve ser que no nostalrius se usa ela de forma diferente ou eu estou errando mesmo.

--

It's the topvisiblething, right? Problem that it is necessary, it prevents you from losing the item in case there is no space to summon the monster, it must be that nostalrius uses it differently or I am really wrong.
Sim, mas fiz varios testes aqui e parece ta tudo certo, nao esta perdendo o item quando nao tem espaço, ja ajudou demais irmao vlw ai, agora vou tentar correr atras da parte que puxa o bixo de volta, estou tentando achar em algum script de pokebola de pokemon pra ver se puxo pro meu

yes, but i did man tests and seems all workin, is not loosin the item when theres no spance, u already helped a lot bro ty, now gonna try to reach the function to back the monster to the item, lookin for on pokemon scripts maybe i can find smth
 
Sim, mas fiz varios testes aqui e parece ta tudo certo, nao esta perdendo o item quando nao tem espaço, ja ajudou demais irmao vlw ai, agora vou tentar correr atras da parte que puxa o bixo de volta, estou tentando achar em algum script de pokebola de pokemon pra ver se puxo pro meu

yes, but i did man tests and seems all workin, is not loosin the item when theres no spance, u already helped a lot bro ty, now gonna try to reach the function to back the monster to the item, lookin for on pokemon scripts maybe i can find smth
Ah, você quer que o monstro suma depois de um tempo? É só fazer um addevent usando o id do monstro para remove-lo

Ah, you want the monster to disappear after a while? Just make an addevent using the monster's id to remove it
Post automatically merged:

see if that works
---
veja se isso funciona
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local monsterName = "Rat" -- Nome do monstro a ser invocado
    local despawnTime = 5 * 60 * 1000 -- Tempo em milissegundos para o monstro ser removido (5 minutos)

    -- Verifica se o jogador está em uma zona de proteção
    if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
        player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
        return true
    end

    -- Verifica se há paredes ou itens ao redor do jogador
    local directions = {NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST}
    local validPositions = {}
    for i = 1, #directions do
        local checkPosition = player:getPosition()
        checkPosition:getNextPosition(directions[i])
        local tile = Tile(checkPosition)
        if tile then
            if tile:hasFlag(TILESTATE_BLOCKSOLID) then
                player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                return true
            else
                if tile:getTopCreature() ~= nil then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                else
                    table.insert(validPositions, checkPosition)
                end
            end
        end
    end

    -- Escolhe aleatoriamente uma posição válida para invocar o monstro e remove o item usado
    local summonPosition = validPositions[math.random(#validPositions)]
    local monster = Game.createMonster(monsterName, summonPosition)
    item:remove(1)

    -- Adiciona um evento para remover o monstro após o tempo especificado
    addEvent(function()
        if monster and monster:isCreature() then
            monster:remove()
        end
    end, despawnTime)

    return true
end
 
Last edited:
Ah, você quer que o monstro suma depois de um tempo? É só fazer um addevent usando o id do monstro para remove-lo

Ah, you want the monster to disappear after a while? Just make an addevent using the monster's id to remove it
Post automatically merged:

see if that works
---
veja se isso funciona
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local monsterName = "Rat" -- Nome do monstro a ser invocado
    local despawnTime = 5 * 60 * 1000 -- Tempo em milissegundos para o monstro ser removido (5 minutos)

    -- Verifica se o jogador está em uma zona de proteção
    if player:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
        player:sendCancelMessage("Você não pode usar este item em uma zona de proteção.")
        return true
    end

    -- Verifica se há paredes ou itens ao redor do jogador
    local directions = {NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST}
    local validPositions = {}
    for i = 1, #directions do
        local checkPosition = player:getPosition()
        checkPosition:getNextPosition(directions[i])
        local tile = Tile(checkPosition)
        if tile then
            if tile:hasFlag(TILESTATE_BLOCKSOLID) then
                player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                return true
            else
                if tile:getTopCreature() ~= nil then
                    player:sendCancelMessage("Você precisa de espaço para poder criar seu Dummy aqui.")
                    return true
                else
                    table.insert(validPositions, checkPosition)
                end
            end
        end
    end

    -- Escolhe aleatoriamente uma posição válida para invocar o monstro e remove o item usado
    local summonPosition = validPositions[math.random(#validPositions)]
    local monster = Game.createMonster(monsterName, summonPosition)
    item:remove(1)

    -- Adiciona um evento para remover o monstro após o tempo especificado
    addEvent(function()
        if monster and monster:isCreature() then
            monster:remove()
        end
    end, despawnTime)

    return true
end
vi agora mano, funcionou legal, obrigado mesmo mas o que eu precisava mesmo era aquee esquema do pokemon saca? que aperta o item o bixo sai e depois aperta novamente o bixo volta pro item e o player consegue sumonar o bixo novamente em outro lugar, isso seria pra caso de alguém matar o dummy alheio ou abrir pk em alguem com dummy para roubar mas isso estou desenrolando aqui nos arquivos de pokemon acho q vai dar certo, de qualquer forma vlw demais mano, ajudou muito

i just saw, it works, ty ver much bro but what i was really lookin for was that system like pokemon u know? when click on item the monster go out and when click again the monster back to item and the plaer could summon it on another place, this would be for the case of smn kill the dummy or try to rob smns dummy but this im searching on pokemons script and think it will work, anyway thank u very much again for ur time, really helped
 
vi agora mano, funcionou legal, obrigado mesmo mas o que eu precisava mesmo era aquee esquema do pokemon saca? que aperta o item o bixo sai e depois aperta novamente o bixo volta pro item e o player consegue sumonar o bixo novamente em outro lugar, isso seria pra caso de alguém matar o dummy alheio ou abrir pk em alguem com dummy para roubar mas isso estou desenrolando aqui nos arquivos de pokemon acho q vai dar certo, de qualquer forma vlw demais mano, ajudou muito

i just saw, it works, ty ver much bro but what i was really lookin for was that system like pokemon u know? when click on item the monster go out and when click again the monster back to item and the plaer could summon it on another place, this would be for the case of smn kill the dummy or try to rob smns dummy but this im searching on pokemons script and think it will work, anyway thank u very much again for ur time, really helped
No problem bro
 
Back
Top