• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    ayuda!!! info player

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1ayuda!!! info player Empty ayuda!!! info player Vie Dic 22, 2017 2:05 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    Muy buenas!!!

    necesito que me ayudeis...

    sabeis que cuando se clica a un player... sale su level y su vocacion...

    me gustaria poner los rebirths tambien.... alguien sabe como se hace???

    3 participantes

    2ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 2:33 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    como es tu systema de Rebirth mediante storange tendria que publicar tu npc que te hace Rebirth o mediante el systema que te hace Rebirth para poder ver



    ayuda!!! info player YNU5B25
    3 participantes
    http://www.tibiaface.com

    3ayuda!!! info player Empty teste Vie Dic 22, 2017 2:35 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    local config = {
    price = 0, -- Price of first rebirth
    priceIncrease = 0, -- Works as 'price' + current rebirths * priceIncrease.
    rebirthLevel = 600, -- Level for first rebirth.
    rebirthIncrease = 0, -- Works as 'rebirthLevel' + current rebirths * rebirthIncrease.
    maxRebirths = 3000, -- Number of times a player can rebirth.
    level = 1000, -- The level the player is set to apon rebirth.
    healthPercent = 1.00, -- 1.00 = 100%.
    health = 100, -- Only used if 'healthPercent' = 0.
    manaPercent = 1.00, -- 1.00 = 100%.
    mana = 100, -- Only used if 'manaPercent' = 0.
    keepSkills = true, -- Wether players keep skills and level apon rebirth.
    skillLevel = 10, -- Only used if 'keepSkills' = false.
    magicLevel = 0, -- Only used if 'keepSkills' = false.
    capacity = 10000, -- The capacity players are set to apon rebirth.
    templePos = {x = 2000, y = 2000, z = 7}, -- The place where players reset to should there town id return 0.
    storage = 85987 -- Player storage rebirth count is kept on.
    }

    local focuses = {}
    local function isFocused(cid)
    for i, v in pairs(focuses) do
    if(v == cid) then
    return true
    end
    end
    return false
    end

    local function addFocus(cid)
    if(not isFocused(cid)) then
    table.insert(focuses, cid)
    end
    end
    local function removeFocus(cid)
    for i, v in pairs(focuses) do
    if(v == cid) then
    table.remove(focuses, i)
    break
    end
    end
    end
    local function lookAtFocus()
    for i, v in pairs(focuses) do
    if(isPlayer(v)) then
    doNpcSetCreatureFocus(v)
    return
    end
    end
    doNpcSetCreatureFocus(0)
    end

    function onCreatureDisappear(cid)
    if(isFocused(cid)) then
    selfSay("Goodbye.")
    removeFocus(cid)
    end
    end

    function onCreatureSay(cid, type, msg)
    if((msg == "hi") and not (isFocused(cid))) then
    selfSay("Welcome, ".. getCreatureName(cid) ..".", cid, true)
    selfSay("I can {rebirth} you!", cid)
    addFocus(cid)
    status = 1
    elseif((isFocused(cid)) and (msg == "rebirth") and (status == 1)) then
    if (getCreatureStorage(cid, config.storage) < config.maxRebirths) then
    storage = getCreatureStorage(cid, config.storage)
    rebirthLevel = config.rebirthLevel + (config.rebirthIncrease * storage)
    if (getPlayerLevel(cid) >= rebirthLevel) then
    money = config.price + (config.priceIncrease * storage)
    if (getPlayerMoney(cid) >= money) then
    selfSay("I can rebirth you for " .. money .. " gold.", cid)
    selfSay("Do you want me to rebirth you?", cid)
    status = 2
    else
    selfSay("You need at least " .. money .. " gold before you can rebirth.", cid)
    status = 1
    end
    else
    selfSay("You need to be at least level " .. rebirthLevel .. " before you can rebirth.", cid)
    status = 1
    end
    else
    selfSay("It seems you can not rebirth anymore.", cid)
    status = 1
    end
    elseif((isFocused(cid)) and (msg == "yes") and (status == 2)) then
    selfSay("Ok then i will rebirth you.", cid)
    selfSay("You will now be logged out.", cid)
    doPlayerRemoveMoney(cid, money)
    addEvent(doRebirthPlayer, 2000, {cid=cid})
    removeFocus(cid)
    elseif((isFocused(cid)) and (msg == "no") and (status == 2)) then
    selfSay("Maybe one day you will wise up and change your mind!", cid)
    status = 1
    elseif((isFocused(cid)) and (msg == "bye" or msg == "goodbye" or msg == "cya")) then
    selfSay("Goodbye!", cid, true)
    removeFocus(cid)
    end
    end

    function onPlayerCloseChannel(cid)
    if(isFocused(cid)) then
    selfSay("Goodbye.")
    removeFocus(cid)
    end
    end

    function onThink()
    for i, focus in pairs(focuses) do
    if(not isCreature(focus)) then
    removeFocus(focus)
    else
    local distance = getDistanceTo(focus) or -1
    if((distance > 4) or (distance == -1)) then
    selfSay("Goodbye.")
    removeFocus(focus)
    end
    end
    end
    lookAtFocus()
    end

    function doRebirthPlayer(cid)
    cid = cid.cid
    if (cid == nil) then
    return true
    end

    local guid = getPlayerGUID(cid)

    if (config.healthPercent > 0) then
    health = getCreatureMaxHealth(cid) * config.healthPercent
    else
    health = config.health
    end
    if (config.manaPercent > 0) then
    mana = getCreatureMaxMana(cid) * config.manaPercent
    else
    mana = config.mana
    end
    if (getPlayerTown(cid) > 0) then
    pos = getTownTemplePosition(getPlayerTown(cid))
    else
    pos = config.templePos
    end


    doCreatureSetStorage(cid, config.storage, getCreatureStorage(cid, config.storage) + 1)
    doRemoveCreature(cid, true)
    db.executeQuery("UPDATE `players` SET level = " .. config.level .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET cap = " .. config.capacity .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET health = " .. health .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET healthmax = " .. health .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET mana = " .. mana .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET manamax = " .. mana .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET posx = " .. pos.x .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET posy = " .. pos.y .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `players` SET posz = " .. pos.z .. " WHERE id = " .. guid .. ";")

    if (not config.keepSkills) then
    db.executeQuery("UPDATE `players` SET maglevel = " .. config.magicLevel .. " WHERE id = " .. guid .. ";")
    db.executeQuery("UPDATE `player_skills` SET value = " .. config.skillLevel .. " WHERE id = " .. guid .. ";")
    end
    return true
    end


    Este es mi Rebirth system..... lo hace un NPC

    3 participantes

    4ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 2:41 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    serva a:

    Data/creaturescripts/scripts
    copia cualquier archivo y pega esto dentro y renombra por x.lua

    Código:
        function onLook(cid, thing, position, lookDistance)
          if(isPlayer(thing.uid) and thing.uid ~= cid and getCreatureStorage(thing.uid, 85987) ~= -1) then
              doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == PLAYERSEX_FEMALE and ".\nShe" or ".\nHe") .. " El Tiene " .. getCreatureStorage(thing.uid, 85987) .. " " .. == 1 and "reset" or "resets"))
          elseif(thing.uid == cid and getCreatureStorage(cid, 85987) ~= -1) then
              local message = "You see yourself."
              if(getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION)) then
                message = message .. " You are " .. getPlayerGroupName(cid) .. "."
              elseif(getPlayerVocation(cid) ~= 0) then
                message = message .. " You are a " .. getPlayerVocationName(cid):lower() .. "."
              else
                message = message .. " You have no vocation."
              end
        
              if(getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil) then
                message = message .. " You are " .. (getPlayerSex(cid) == PLAYERSEX_FEMALE and "wife" or "husband") .. " of " .. getPlayerNameByGUID(getPlayerPartner(cid)) .. "."
              end
        
              if(getPlayerGuildId(cid) > 0) then
                message = message .. " You are " .. (getPlayerGuildRank(cid) == "" and "a member" or getPlayerGuildRank(cid)) .. " of the " .. getPlayerGuildName(cid)
                message = getPlayerGuildNick(cid) ~= "" and message .. " (" .. getPlayerGuildNick(cid) .. ")." or message .. "."
              end
        
              if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS)) then
                message = message .. "\nHealth: [" .. getCreatureHealth(cid) .. " / " .. getCreatureMaxHealth(cid) .. "], Mana: [" .. getCreatureMana(cid) .. " / " .. getCreatureMaxMana(cid) .. "]."
                message = message .. "\nIP: " .. doConvertIntegerToIp(getPlayerIp(cid)) .. ", Client: " .. getClientVersion(cid) .. "."
              end
        
              if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION)) then
                message = message .. "\nPosition: [X: " .. position.x .. "] [Y: " .. position.y .. "] [Z: " .. position.z .. "]."
              end
        
              return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, message .. " \El Tiene" " .. (getCreatureStorage(cid, 85987) == 1 and "reset." or "resets."))
          end
        
          return true
        end

    registra en login.lua

    Código:
    registerCreatureEvent(cid, "ResetDescription")

    y luego se va a

    data/creaturescripts/creaturescripts.XML
    y añade esta tag:

    Código:
    <event type="look" name="ResetDescription" event="script" value="x.lua"/>

    y reinicia el servidor



    ayuda!!! info player YNU5B25
    3 participantes
    http://www.tibiaface.com

    5ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 3:03 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    [22/12/2017 20:2:46] [Error - LuaInterface::loadFile] data/creaturescripts/scripts/x.lua:3: ')' expected near '='
    [22/12/2017 20:2:46] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/x.lua)
    [22/12/2017 20:2:46] data/creaturescripts/scripts/x.lua:3: ')' expected near '=='

    3 participantes

    6ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 3:13 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    lo hice... pero da error =(

    3 participantes

    7ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 3:46 pm

    Fremy

    Fremy
    Miembro
    Miembro
    Que manejas?, tfs / otx y que version?

    3 participantes
    https://speeddrawn.wixsite.com/dosbarth/home/categories/monstruo

    8ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 3:48 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    OTX y es 8.60

    Kalima server Pet + War System

    3 participantes

    9ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 6:34 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    aqui tienes solucionado

    Código:
     
        function onLook(cid, thing, position, lookDistance)
          if(isPlayer(thing.uid) and thing.uid ~= cid and getCreatureStorage(thing.uid, 85987) ~= -1) then
              doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == PLAYERSEX_FEMALE and ".\nShe" or ".\nHe") .. " El Tiene " .. getCreatureStorage(thing.uid, 85987) .. " " .. == 1 and "reset" or "resets")
       
          elseif(thing.uid == cid and getCreatureStorage(cid, 85987) ~= -1) then
              local message = "You see yourself."
              if(getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION)) then
                message = message .. " You are " .. getPlayerGroupName(cid) .. "."
              elseif(getPlayerVocation(cid) ~= 0) then
                message = message .. " You are a " .. getPlayerVocationName(cid):lower() .. "."
              else
                message = message .. " You have no vocation."
              end
       
              if(getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil) then
                message = message .. " You are " .. (getPlayerSex(cid) == PLAYERSEX_FEMALE and "wife" or "husband") .. " of " .. getPlayerNameByGUID(getPlayerPartner(cid)) .. "."
              end
       
              if(getPlayerGuildId(cid) > 0) then
                message = message .. " You are " .. (getPlayerGuildRank(cid) == "" and "a member" or getPlayerGuildRank(cid)) .. " of the " .. getPlayerGuildName(cid)
                message = getPlayerGuildNick(cid) ~= "" and message .. " (" .. getPlayerGuildNick(cid) .. ")." or message .. "."
              end
       
              if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS)) then
                message = message .. "\nHealth: [" .. getCreatureHealth(cid) .. " / " .. getCreatureMaxHealth(cid) .. "], Mana: [" .. getCreatureMana(cid) .. " / " .. getCreatureMaxMana(cid) .. "]."
                message = message .. "\nIP: " .. doConvertIntegerToIp(getPlayerIp(cid)) .. ", Client: " .. getClientVersion(cid) .. "."
              end
       
              if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION)) then
                message = message .. "\nPosition: [X: " .. position.x .. "] [Y: " .. position.y .. "] [Z: " .. position.z .. "]."
              end
       
              return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, message .. " \El Tiene" " .. (getCreatureStorage(cid, 85987) == 1 and "reset." or "resets."))
          end
       
          return true
        end



    ayuda!!! info player YNU5B25
    3 participantes
    http://www.tibiaface.com

    10ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 6:47 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    Aun me continua dando el mismo error!

    3 participantes

    11ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 6:48 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    kgjunior91 escribió:Aun me continua dando el mismo error!

    Código:
        function onLook(cid, thing, position, lookDistance)
          if(isPlayer(thing.uid) and thing.uid ~= cid and getCreatureStorage(thing.uid, 85987) ~= -1) then
          local sex = getPlayerSex(thing.uid)
    local reset = getCreatureStorage(thing.uid, 85987)
    doPlayerSetSpecialDescription(thing.uid, (sex == PLAYERSEX_FEMALE and "She" or "He") .. " has ".. reset .. " ".. (reset == 1 and "reset" or "resets"))
          elseif(thing.uid == cid and getCreatureStorage(cid, 85987) ~= -1) then
              local message = "You see yourself."
              if(getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION)) then
                message = message .. " You are " .. getPlayerGroupName(cid) .. "."
              elseif(getPlayerVocation(cid) ~= 0) then
                message = message .. " You are a " .. getPlayerVocationName(cid):lower() .. "."
              else
                message = message .. " You have no vocation."
              end
       
              if(getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil) then
                message = message .. " You are " .. (getPlayerSex(cid) == PLAYERSEX_FEMALE and "wife" or "husband") .. " of " .. getPlayerNameByGUID(getPlayerPartner(cid)) .. "."
              end
       
              if(getPlayerGuildId(cid) > 0) then
                message = message .. " You are " .. (getPlayerGuildRank(cid) == "" and "a member" or getPlayerGuildRank(cid)) .. " of the " .. getPlayerGuildName(cid)
                message = getPlayerGuildNick(cid) ~= "" and message .. " (" .. getPlayerGuildNick(cid) .. ")." or message .. "."
              end
       
              if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS)) then
                message = message .. "\nHealth: [" .. getCreatureHealth(cid) .. " / " .. getCreatureMaxHealth(cid) .. "], Mana: [" .. getCreatureMana(cid) .. " / " .. getCreatureMaxMana(cid) .. "]."
                message = message .. "\nIP: " .. doConvertIntegerToIp(getPlayerIp(cid)) .. ", Client: " .. getClientVersion(cid) .. "."
              end
       
              if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION)) then
                message = message .. "\nPosition: [X: " .. position.x .. "] [Y: " .. position.y .. "] [Z: " .. position.z .. "]."
              end
       
              return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, message .. " \El Tiene" " .. (getCreatureStorage(cid, 85987) == 1 and "reset." or "resets."))
          end
       
          return true
        end


    entonces asi



    ayuda!!! info player YNU5B25
    3 participantes
    http://www.tibiaface.com

    12ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 7:00 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    si no te funciono con ese intenta con este

    Código:
    function onLook(cid, thing, position, lookDistance)
        if(isPlayer(thing.uid) and thing.uid ~= cid and getCreatureStorage(thing.uid, 85987) ~= -1) then
            doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == PLAYERSEX_FEMALE and ".\nShe" or ".\nHe") .. " has prestiged " .. getCreatureStorage(thing.uid, 85987) .. " " .. (getCreatureStorage(thing.uid, 85987) == 1 and "time" or "times"))
        elseif(thing.uid == cid and getCreatureStorage(cid, 85987) ~= -1) then
            local message = "You see yourself."
            if(getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION)) then
                message = message .. " You are " .. getPlayerGroupName(cid) .. "."
            elseif(getPlayerVocation(cid) ~= 0) then
                message = message .. " You are a " .. getPlayerVocationName(cid):lower() .. "."
            else
                message = message .. " You have no vocation."
            end
     
            if(getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil) then
                message = message .. " You are " .. (getPlayerSex(cid) == PLAYERSEX_FEMALE and "wife" or "husband") .. " of " .. getPlayerNameByGUID(getPlayerPartner(cid)) .. "."
            end
     
            if(getPlayerGuildId(cid) > 0) then
                message = message .. " You are " .. (getPlayerGuildRank(cid) == "" and "a member" or getPlayerGuildRank(cid)) .. " of the " .. getPlayerGuildName(cid)
                message = getPlayerGuildNick(cid) ~= "" and message .. " (" .. getPlayerGuildNick(cid) .. ")." or message .. "."
            end
     
            if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS)) then
                message = message .. "\nHealth: [" .. getCreatureHealth(cid) .. " / " .. getCreatureMaxHealth(cid) .. "], Mana: [" .. getCreatureMana(cid) .. " / " .. getCreatureMaxMana(cid) .. "]."
                message = message .. "\nIP: " .. doConvertIntegerToIp(getPlayerIp(cid)) .. ", Client: " .. getClientVersion(cid) .. "."
            end
     
            if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION)) then
                message = message .. "\nPosition: [X: " .. position.x .. "] [Y: " .. position.y .. "] [Z: " .. position.z .. "]."
            end
     
            return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, message .. " \nYou have prestiged " .. getCreatureStorage(cid, 85987) .. " " .. (getCreatureStorage(cid, 85987) == 1 and "time." or "times."))
        end
     
        return true
    end



    ayuda!!! info player YNU5B25
    3 participantes
    http://www.tibiaface.com

    13ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 7:07 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    al ultimo script!!

    me da este error

    [23/12/2017 0:5:42] [Error - CreatureScript Interface]
    [23/12/2017 0:5:42] data/creaturescripts/scripts/x.lua:onLook
    [23/12/2017 0:5:42] Description:
    [23/12/2017 0:5:42] data/creaturescripts/scripts/x.lua:25: attempt to call global 'getClientVersion' (a nil value)
    [23/12/2017 0:5:42] stack traceback:
    [23/12/2017 0:5:42] data/creaturescripts/scripts/x.lua:25: in function <data/creaturescripts/scripts/x.lua:1>

    3 participantes

    14ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 8:00 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    ahi tienes

    Código:
    function onLook(cid, thing, position, lookDistance)
        if(isPlayer(thing.uid) and thing.uid ~= cid and getCreatureStorage(thing.uid, 85987) ~= -1) then
            doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == PLAYERSEX_FEMALE and ".\nShe" or ".\nHe") .. " has prestiged " .. getCreatureStorage(thing.uid, 85987) .. " " .. (getCreatureStorage(thing.uid, 85987) == 1 and "time" or "times"))
        elseif(thing.uid == cid and getCreatureStorage(cid, 85987) ~= -1) then
            local message = "You see yourself."
            if(getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION)) then
                message = message .. " You are " .. getPlayerGroupName(cid) .. "."
            elseif(getPlayerVocation(cid) ~= 0) then
                message = message .. " You are a " .. getPlayerVocationName(cid):lower() .. "."
            else
                message = message .. " You have no vocation."
            end
     
            if(getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil) then
                message = message .. " You are " .. (getPlayerSex(cid) == PLAYERSEX_FEMALE and "wife" or "husband") .. " of " .. getPlayerNameByGUID(getPlayerPartner(cid)) .. "."
            end
     
            if(getPlayerGuildId(cid) > 0) then
                message = message .. " You are " .. (getPlayerGuildRank(cid) == "" and "a member" or getPlayerGuildRank(cid)) .. " of the " .. getPlayerGuildName(cid)
                message = getPlayerGuildNick(cid) ~= "" and message .. " (" .. getPlayerGuildNick(cid) .. ")." or message .. "."
            end
     
            if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS)) then
                message = message .. "\nHealth: [" .. getCreatureHealth(cid) .. " / " .. getCreatureMaxHealth(cid) .. "], Mana: [" .. getCreatureMana(cid) .. " / " .. getCreatureMaxMana(cid) .. "]."
            end
     
            if(getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION)) then
                message = message .. "\nPosition: [X: " .. position.x .. "] [Y: " .. position.y .. "] [Z: " .. position.z .. "]."
            end
     
            return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, message .. " \nYou have prestiged " .. getCreatureStorage(cid, 85987) .. " " .. (getCreatureStorage(cid, 85987) == 1 and "time." or "times."))
        end
     
        return true
    end



    ayuda!!! info player YNU5B25
    3 participantes
    http://www.tibiaface.com

    15ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 8:12 pm

    kgjunior91

    kgjunior91
    Miembro
    Miembro
    Very Happy Resuelto Gracias Very Happy


    Eres un puto CRACK!!!

    Muchas Gracias Jefazo!!!

    3 participantes

    16ayuda!!! info player Empty Re: ayuda!!! info player Vie Dic 22, 2017 8:17 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    TEMA RESUELTO



    ayuda!!! info player YNU5B25
    3 participantes
    http://www.tibiaface.com

    Contenido patrocinado


    3 participantes

    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).