MTAZ - Comunidade MTA DayZ
Seja bem vindo a comunidade mta[Z] a primeira comunidade brasileira de MTA DayZ.
Para ter acesso ao nosso conteúdo completo <a href="/register">registre-se na comunidade</a>


Você não está conectado. Conecte-se ou registre-se

MTAZ - Comunidade MTA DayZ » → Desenvolvimento » Recursos » - New Debug Monitor Desbugado -

Photo

- New Debug Monitor Desbugado -

Ir à página : Anterior  1, 2, 3, 4  Seguinte

Ver o tópico anterior Ver o tópico seguinte Ir em baixo  Mensagem [Página 2 de 4]

Wendellfilho

avatar
Survivor
Survivor
asdsa

Ver perfil do usuário

Lkiller

avatar
Survivor
Survivor
:3 :3

Ver perfil do usuário

Denisqwe12

avatar
Survivor
Survivor
+

Ver perfil do usuário

Richardd88

avatar
Survivor
Survivor
rckinde escreveu:
da hora tava esperando por um desses

- Tutorial de Instalação -

# Localize a pasta [DayZ-MTA]\DayZ
# Abra o arquivo survivorSystem_client
# Procure por:

Código:
statsLabel = {}
statsWindows = guiCreateStaticImage(0.775, 0.2, 0.225, 0.22, "images/scrollmenu_1.png", true)
guiSetAlpha(statsWindows, 0.8)
statsLabel.zombieskilled = guiCreateLabel(0, 0.05, 1, 0.15, "Zombies killed: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.zombieskilled, "center")
guiSetFont(statsLabel.zombieskilled, "default-bold-small")
setElementData(statsLabel.zombieskilled, "identifikation", "zombieskilled")
statsLabel.headshots = guiCreateLabel(0, 0.15, 1, 0.15, "Headshots: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.headshots, "center")
guiSetFont(statsLabel.headshots, "default-bold-small")
setElementData(statsLabel.headshots, "identifikation", "headshots")
statsLabel.murders = guiCreateLabel(0, 0.25, 1, 0.15, "Murders: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.murders, "center")
guiSetFont(statsLabel.murders, "default-bold-small")
setElementData(statsLabel.murders, "identifikation", "murders")
statsLabel.banditskilled = guiCreateLabel(0, 0.35, 1, 0.15, "Bandits killed: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.banditskilled, "center")
guiSetFont(statsLabel.banditskilled, "default-bold-small")
setElementData(statsLabel.banditskilled, "identifikation", "banditskilled")
statsLabel.blood = guiCreateLabel(0, 0.45, 1, 0.15, "Blood: 12000", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.blood, "center")
guiSetFont(statsLabel.blood, "default-bold-small")
setElementData(statsLabel.blood, "identifikation", "blood")
statsLabel.zombies = guiCreateLabel(0, 0.55, 1, 0.15, "Zombies (Alive/Total): 0/0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.zombies, "center")
guiSetFont(statsLabel.zombies, "default-bold-small")
setElementData(statsLabel.zombies, "identifikation", "zombies")
statsLabel.temperature = guiCreateLabel(0, 0.65, 1, 0.15, "Temperature: 37\194\176C", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.temperature, "center")
guiSetFont(statsLabel.temperature, "default-bold-small")
setElementData(statsLabel.temperature, "identifikation", "temperature")
statsLabel.humanity = guiCreateLabel(0, 0.75, 1, 0.15, "Humanity: 2500", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.humanity, "center")
guiSetFont(statsLabel.humanity, "default-bold-small")
setElementData(statsLabel.humanity, "identifikation", "humanity")
statsLabel.name = guiCreateLabel(0, 0.85, 1, 0.15, "Name: " .. getPlayerName(getLocalPlayer()), true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.name, "center")
guiSetFont(statsLabel.name, "default-bold-small")
setElementData(statsLabel.name, "identifikation", "name")
if getElementData(localPlayer, "logedin") then
  guiSetVisible(statsWindows, true)
else
  guiSetVisible(statsWindows, false)
end
function showDebugMonitor()
  local visible = guiGetVisible(statsWindows)
  guiSetVisible(statsWindows, not visible)
end
bindKey("F5", "down", showDebugMonitor)
function showDebugMintorOnLogin()
  guiSetVisible(statsWindows, true)
end
addEvent("onClientPlayerDayZLogin", true)
addEventHandler("onClientPlayerDayZLogin", root, showDebugMintorOnLogin)
function refreshDebugMonitor()
  if getElementData(getLocalPlayer(), "logedin") then
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.zombieskilled, "identifikation"))
    guiSetText(statsLabel.zombieskilled, "Zombies killed: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.headshots, "identifikation"))
    guiSetText(statsLabel.headshots, "Headshots: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.banditskilled, "identifikation"))
    guiSetText(statsLabel.banditskilled, "Bandits killed: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.murders, "identifikation"))
    guiSetText(statsLabel.murders, "Murders: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.blood, "identifikation"))
    guiSetText(statsLabel.blood, "Blood: " .. value)
    local value = getElementData(getRootElement(), "zombiesalive") or 0
    local value2 = getElementData(getRootElement(), "zombiestotal") or 0
    guiSetText(statsLabel.zombies, "Zombies (Alive/Total): " .. value .. "/" .. value2)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.temperature, "identifikation"))
    guiSetText(statsLabel.temperature, "Temperature: " .. math.round(value, 2) .. "\194\176C")
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.humanity, "identifikation"))
    guiSetText(statsLabel.humanity, "Humanity: " .. math.round(value, 2))
    guiSetText(statsLabel.name, "Name: " .. getPlayerName(getLocalPlayer()))
  end
end
setTimer(refreshDebugMonitor, 2000, 0)
# Substitua por:

Código:
statsLabel = {}

statsWindows = guiCreateStaticImage(0.81, 0.20, 0.19, 0.21, "images/scrollmenu_1.png",true)
guiSetAlpha(statsWindows,0.8)
 
-- ZOMBIES (A/T) 1
statsLabel["zombies1"] = guiCreateLabel(0.71, 0.70, 0.27, 0.09, "0/0", true, statsWindows)
guiSetFont(statsLabel["zombies1"], "default-bold-small")
setElementData(statsLabel["zombies1"],"identifikation","zombies")

-- ZOMBIES KILLEDS 1
statsLabel["zombieskilled1"] = guiCreateLabel(0.71, 0.61, 0.27, 0.09, "0", true, statsWindows)
guiSetFont(statsLabel["zombieskilled1"], "default-bold-small")
setElementData(statsLabel["zombieskilled1"],"identifikation","zombieskilled")

-- HEADSHOTS 1
statsLabel["headshots1"] = guiCreateLabel(0.71, 0.52, 0.27, 0.09, "0", true, statsWindows)
guiSetFont(statsLabel["headshots1"], "default-bold-small")
setElementData(statsLabel["headshots1"],"identifikation","headshots")

-- HUMANITY 1
statsLabel["humanity1"] = guiCreateLabel(0.71, 0.24, 0.27, 0.09,  "2500", true, statsWindows)
guiSetFont(statsLabel["humanity1"], "default-bold-small")
setElementData(statsLabel["humanity1"],"identifikation","humanity")

-- BANDITS KILLEDS 1
statsLabel["banditskilled1"] = guiCreateLabel(0.71, 0.43, 0.27, 0.09, "0", true, statsWindows)
guiSetFont(statsLabel["banditskilled1"], "default-bold-small")
setElementData(statsLabel["banditskilled1"],"identifikation","banditskilled")

-- MURDERS 1
statsLabel["murders1"] = guiCreateLabel(0.71, 0.34, 0.27, 0.09,"0", true, statsWindows)
guiSetFont(statsLabel["murders1"], "default-bold-small")
setElementData(statsLabel["murders1"],"identifikation","murders")

-- BLOOD 1
statsLabel["blood1"] = guiCreateLabel(0.58, 0.79, 0.36, 0.09,  "12000", true, statsWindows)
guiSetFont(statsLabel["blood1"], "default-bold-small")
setElementData(statsLabel["blood1"],"identifikation","blood")

-- TEMP 1
statsLabel["temperature1"] = guiCreateLabel(0.58, 0.85, 0.36, 0.09, "37°C", true, statsWindows)
guiSetFont(statsLabel["temperature1"], "default-bold-small")
setElementData(statsLabel["temperature1"],"identifikation","temperature")


-- FACEBOOK
statsLabel["face"] = guiCreateLabel(0.36, 0.93, 0.84, 0.11, "Designer by RickInde", true, statsWindows)
guiSetFont(statsLabel["face"], "default-small")
guiLabelSetColor(statsLabel["face"], 123, 123, 123)

-- DEBUG MONITOR
statsLabel["debug"] = guiCreateLabel(0.36, 0.02, 0.84, 0.09, "DEBUG MONITOR:", true, statsWindows)
guiSetFont(statsLabel["debug"], "default-bold-small")
guiLabelSetColor(statsLabel["debug"], 123, 123, 123)

-- SURVIVOR
statsLabel["survivor"] = guiCreateLabel(0.89, 0.13, 0.31, 0.09, "S", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.23, 0.31, 0.09, "U", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.33, 0.31, 0.09, "R", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.43, 0.31, 0.09, "V", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.53, 0.31, 0.09, "I", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.63, 0.31, 0.09, "V", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.73, 0.31, 0.09, "O", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.83, 0.31, 0.09, "R", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)

--Zombies (A/T)
statsLabel["zombies"] = guiCreateLabel(0.06, 0.70, 0.41, 0.09, "Zombies (Alive/Total):", true, statsWindows)
guiSetFont (statsLabel["zombies"], "default-bold-small")
guiLabelSetColor(statsLabel["zombies"], 0, 0, 0)

--Zombies  Killed
statsLabel["zombieskilled"] = guiCreateLabel(0.06, 0.61, 0.41, 0.09, "Zombies killed:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["zombieskilled"],"center")
guiSetFont (statsLabel["zombieskilled"], "default-bold-small" )
guiLabelSetColor(statsLabel["zombieskilled"], 0, 0, 0)

--Headshots
statsLabel["headshots"] = guiCreateLabel(0.06, 0.52, 0.41, 0.12, "Headshots:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["headshots"],"center")
guiSetFont (statsLabel["headshots"], "default-bold-small" )
guiLabelSetColor(statsLabel["headshots"], 0, 0, 0)

--Murders
statsLabel["murders"] = guiCreateLabel(0.06, 0.34, 0.41, 0.09, "Murders:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["murders"],"center")
guiSetFont (statsLabel["murders"], "default-bold-small" )
guiLabelSetColor(statsLabel["murders"], 0, 0, 0)

--Bandits Killed
statsLabel["banditskilled"] = guiCreateLabel(0.06, 0.43, 0.41, 0.12,"Bandits killed:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["banditskilled"],"center")
guiSetFont (statsLabel["banditskilled"], "default-bold-small" )
guiLabelSetColor(statsLabel["banditskilled"], 0, 0, 0)

--Blood
statsLabel["blood"] = guiCreateLabel(0.06, 0.79, 0.41, 0.09, "Blood:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["blood"],"center")
guiSetFont (statsLabel["blood"], "default-bold-small" )
guiLabelSetColor(statsLabel["blood"], 51, 225, 28)


--Temperature
statsLabel["temperature"] = guiCreateLabel(0.06, 0.85, 0.41, 0.09, "Temperature:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["temperature"],"center")
guiSetFont (statsLabel["temperature"], "default-bold-small" )
guiLabelSetColor(statsLabel["temperature"], 51, 225, 28)

--Humanity
statsLabel["humanity"] = guiCreateLabel(0.06, 0.24, 0.31, 0.09, "Humanity:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["humanity"],"center")
guiSetFont (statsLabel["humanity"], "default-bold-small" )
guiLabelSetColor(statsLabel["humanity"], 0, 0, 0)

--Name
statsLabel["name"] = guiCreateLabel(0.10, 0.09, 0.62, 0.09, "                       "..getPlayerName(getLocalPlayer()),true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["name"],"center")
guiSetFont (statsLabel["name"], "default-bold-small" )
guiLabelSetColor(statsLabel["name"], 51, 225, 28)
setElementData(statsLabel["name"],"identifikation","name")

if getElementData(localPlayer,"logedin") then
    guiSetVisible(statsWindows,true)
else
    guiSetVisible(statsWindows,false)
end

function showDebugMonitor ()
    local visible = guiGetVisible(statsWindows)
    guiSetVisible(statsWindows,not visible)
end
bindKey("F5","down",showDebugMonitor)

function showDebugMintorOnLogin ()
    guiSetVisible(statsWindows,true)
end
addEvent("onClientPlayerDayZLogin", true)
addEventHandler("onClientPlayerDayZLogin", root, showDebugMintorOnLogin)

function refreshDebugMonitor()
    if getElementData(getLocalPlayer(),"logedin") then
    
    local value = getElementData(getRootElement(), "zombiesalive") or 0
    local value2 = getElementData(getRootElement(), "zombiestotal") or 0
    guiSetText(statsLabel["zombies1"], " " .. value .. "/" .. value2)

    local value = getElementData(getLocalPlayer(),getElementData(statsLabel["zombieskilled1"],"identifikation"))
        guiSetText(statsLabel["zombieskilled1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["headshots1"],"identifikation"))
        guiSetText(statsLabel["headshots1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["banditskilled1"],"identifikation"))
        guiSetText(statsLabel["banditskilled1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["murders1"],"identifikation"))
        guiSetText(statsLabel["murders1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["blood1"],"identifikation"))
        guiSetText(statsLabel["blood1"]," "..value)

        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["temperature1"],"identifikation"))
        guiSetText(statsLabel["temperature1"],""..math.round(value,2).."°C")
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["humanity1"],"identifikation"))
        guiSetText(statsLabel["humanity1"]," "..math.round(value,2))
        
        guiSetText(statsLabel["name"]," "..getPlayerName(getLocalPlayer()))
    end        
end
setTimer(refreshDebugMonitor,2000,0)
- Tutorial de instalação ScrollMenu -
#Procure pela pasta [DayZ-MTA]\DayZ\images
#Encontre o arquivo scrollmenu_1.png
#Substitua por:

Ver perfil do usuário

Richardd88

avatar
Survivor
Survivor
:3 :#

Ver perfil do usuário

citygame-rp@bk.ru

avatar
Survivor
Survivor
arherahhe

Ver perfil do usuário

alehongbmx

avatar
Survivor
Survivor
asdas

Ver perfil do usuário

Samuel Oliveira

avatar
Survivor
Survivor
Vlw :3

Ver perfil do usuário

luan100nada

avatar
Survivor
Survivor
af u afff

Ver perfil do usuário

barzohd

avatar
Survivor
Survivor
ssfdfd

Ver perfil do usuário

jrlala123

avatar
Survivor
Survivor
nice

Ver perfil do usuário

farid134

avatar
Survivor
Survivor
rckinde escreveu:


- Tutorial de Instalação -

# Localize a pasta [DayZ-MTA]\DayZ
# Abra o arquivo survivorSystem_client
# Procure por:

Código:
statsLabel = {}
statsWindows = guiCreateStaticImage(0.775, 0.2, 0.225, 0.22, "images/scrollmenu_1.png", true)
guiSetAlpha(statsWindows, 0.8)
statsLabel.zombieskilled = guiCreateLabel(0, 0.05, 1, 0.15, "Zombies killed: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.zombieskilled, "center")
guiSetFont(statsLabel.zombieskilled, "default-bold-small")
setElementData(statsLabel.zombieskilled, "identifikation", "zombieskilled")
statsLabel.headshots = guiCreateLabel(0, 0.15, 1, 0.15, "Headshots: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.headshots, "center")
guiSetFont(statsLabel.headshots, "default-bold-small")
setElementData(statsLabel.headshots, "identifikation", "headshots")
statsLabel.murders = guiCreateLabel(0, 0.25, 1, 0.15, "Murders: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.murders, "center")
guiSetFont(statsLabel.murders, "default-bold-small")
setElementData(statsLabel.murders, "identifikation", "murders")
statsLabel.banditskilled = guiCreateLabel(0, 0.35, 1, 0.15, "Bandits killed: 0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.banditskilled, "center")
guiSetFont(statsLabel.banditskilled, "default-bold-small")
setElementData(statsLabel.banditskilled, "identifikation", "banditskilled")
statsLabel.blood = guiCreateLabel(0, 0.45, 1, 0.15, "Blood: 12000", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.blood, "center")
guiSetFont(statsLabel.blood, "default-bold-small")
setElementData(statsLabel.blood, "identifikation", "blood")
statsLabel.zombies = guiCreateLabel(0, 0.55, 1, 0.15, "Zombies (Alive/Total): 0/0", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.zombies, "center")
guiSetFont(statsLabel.zombies, "default-bold-small")
setElementData(statsLabel.zombies, "identifikation", "zombies")
statsLabel.temperature = guiCreateLabel(0, 0.65, 1, 0.15, "Temperature: 37\194\176C", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.temperature, "center")
guiSetFont(statsLabel.temperature, "default-bold-small")
setElementData(statsLabel.temperature, "identifikation", "temperature")
statsLabel.humanity = guiCreateLabel(0, 0.75, 1, 0.15, "Humanity: 2500", true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.humanity, "center")
guiSetFont(statsLabel.humanity, "default-bold-small")
setElementData(statsLabel.humanity, "identifikation", "humanity")
statsLabel.name = guiCreateLabel(0, 0.85, 1, 0.15, "Name: " .. getPlayerName(getLocalPlayer()), true, statsWindows)
guiLabelSetHorizontalAlign(statsLabel.name, "center")
guiSetFont(statsLabel.name, "default-bold-small")
setElementData(statsLabel.name, "identifikation", "name")
if getElementData(localPlayer, "logedin") then
  guiSetVisible(statsWindows, true)
else
  guiSetVisible(statsWindows, false)
end
function showDebugMonitor()
  local visible = guiGetVisible(statsWindows)
  guiSetVisible(statsWindows, not visible)
end
bindKey("F5", "down", showDebugMonitor)
function showDebugMintorOnLogin()
  guiSetVisible(statsWindows, true)
end
addEvent("onClientPlayerDayZLogin", true)
addEventHandler("onClientPlayerDayZLogin", root, showDebugMintorOnLogin)
function refreshDebugMonitor()
  if getElementData(getLocalPlayer(), "logedin") then
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.zombieskilled, "identifikation"))
    guiSetText(statsLabel.zombieskilled, "Zombies killed: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.headshots, "identifikation"))
    guiSetText(statsLabel.headshots, "Headshots: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.banditskilled, "identifikation"))
    guiSetText(statsLabel.banditskilled, "Bandits killed: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.murders, "identifikation"))
    guiSetText(statsLabel.murders, "Murders: " .. value)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.blood, "identifikation"))
    guiSetText(statsLabel.blood, "Blood: " .. value)
    local value = getElementData(getRootElement(), "zombiesalive") or 0
    local value2 = getElementData(getRootElement(), "zombiestotal") or 0
    guiSetText(statsLabel.zombies, "Zombies (Alive/Total): " .. value .. "/" .. value2)
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.temperature, "identifikation"))
    guiSetText(statsLabel.temperature, "Temperature: " .. math.round(value, 2) .. "\194\176C")
    local value = getElementData(getLocalPlayer(), getElementData(statsLabel.humanity, "identifikation"))
    guiSetText(statsLabel.humanity, "Humanity: " .. math.round(value, 2))
    guiSetText(statsLabel.name, "Name: " .. getPlayerName(getLocalPlayer()))
  end
end
setTimer(refreshDebugMonitor, 2000, 0)
# Substitua por:

Código:
statsLabel = {}

statsWindows = guiCreateStaticImage(0.81, 0.20, 0.19, 0.21, "images/scrollmenu_1.png",true)
guiSetAlpha(statsWindows,0.8)
 
-- ZOMBIES (A/T) 1
statsLabel["zombies1"] = guiCreateLabel(0.71, 0.70, 0.27, 0.09, "0/0", true, statsWindows)
guiSetFont(statsLabel["zombies1"], "default-bold-small")
setElementData(statsLabel["zombies1"],"identifikation","zombies")

-- ZOMBIES KILLEDS 1
statsLabel["zombieskilled1"] = guiCreateLabel(0.71, 0.61, 0.27, 0.09, "0", true, statsWindows)
guiSetFont(statsLabel["zombieskilled1"], "default-bold-small")
setElementData(statsLabel["zombieskilled1"],"identifikation","zombieskilled")

-- HEADSHOTS 1
statsLabel["headshots1"] = guiCreateLabel(0.71, 0.52, 0.27, 0.09, "0", true, statsWindows)
guiSetFont(statsLabel["headshots1"], "default-bold-small")
setElementData(statsLabel["headshots1"],"identifikation","headshots")

-- HUMANITY 1
statsLabel["humanity1"] = guiCreateLabel(0.71, 0.24, 0.27, 0.09,  "2500", true, statsWindows)
guiSetFont(statsLabel["humanity1"], "default-bold-small")
setElementData(statsLabel["humanity1"],"identifikation","humanity")

-- BANDITS KILLEDS 1
statsLabel["banditskilled1"] = guiCreateLabel(0.71, 0.43, 0.27, 0.09, "0", true, statsWindows)
guiSetFont(statsLabel["banditskilled1"], "default-bold-small")
setElementData(statsLabel["banditskilled1"],"identifikation","banditskilled")

-- MURDERS 1
statsLabel["murders1"] = guiCreateLabel(0.71, 0.34, 0.27, 0.09,"0", true, statsWindows)
guiSetFont(statsLabel["murders1"], "default-bold-small")
setElementData(statsLabel["murders1"],"identifikation","murders")

-- BLOOD 1
statsLabel["blood1"] = guiCreateLabel(0.58, 0.79, 0.36, 0.09,  "12000", true, statsWindows)
guiSetFont(statsLabel["blood1"], "default-bold-small")
setElementData(statsLabel["blood1"],"identifikation","blood")

-- TEMP 1
statsLabel["temperature1"] = guiCreateLabel(0.58, 0.85, 0.36, 0.09, "37°C", true, statsWindows)
guiSetFont(statsLabel["temperature1"], "default-bold-small")
setElementData(statsLabel["temperature1"],"identifikation","temperature")


-- FACEBOOK
statsLabel["face"] = guiCreateLabel(0.36, 0.93, 0.84, 0.11, "Designer by RickInde", true, statsWindows)
guiSetFont(statsLabel["face"], "default-small")
guiLabelSetColor(statsLabel["face"], 123, 123, 123)

-- DEBUG MONITOR
statsLabel["debug"] = guiCreateLabel(0.36, 0.02, 0.84, 0.09, "DEBUG MONITOR:", true, statsWindows)
guiSetFont(statsLabel["debug"], "default-bold-small")
guiLabelSetColor(statsLabel["debug"], 123, 123, 123)

-- SURVIVOR
statsLabel["survivor"] = guiCreateLabel(0.89, 0.13, 0.31, 0.09, "S", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.23, 0.31, 0.09, "U", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.33, 0.31, 0.09, "R", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.43, 0.31, 0.09, "V", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.53, 0.31, 0.09, "I", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.63, 0.31, 0.09, "V", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.73, 0.31, 0.09, "O", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)
statsLabel["survivor"] = guiCreateLabel(0.89, 0.83, 0.31, 0.09, "R", true, statsWindows)
guiSetFont(statsLabel["survivor"], "default-bold-small")
guiLabelSetColor(statsLabel["survivor"], 51, 225, 28)

--Zombies (A/T)
statsLabel["zombies"] = guiCreateLabel(0.06, 0.70, 0.41, 0.09, "Zombies (Alive/Total):", true, statsWindows)
guiSetFont (statsLabel["zombies"], "default-bold-small")
guiLabelSetColor(statsLabel["zombies"], 0, 0, 0)

--Zombies  Killed
statsLabel["zombieskilled"] = guiCreateLabel(0.06, 0.61, 0.41, 0.09, "Zombies killed:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["zombieskilled"],"center")
guiSetFont (statsLabel["zombieskilled"], "default-bold-small" )
guiLabelSetColor(statsLabel["zombieskilled"], 0, 0, 0)

--Headshots
statsLabel["headshots"] = guiCreateLabel(0.06, 0.52, 0.41, 0.12, "Headshots:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["headshots"],"center")
guiSetFont (statsLabel["headshots"], "default-bold-small" )
guiLabelSetColor(statsLabel["headshots"], 0, 0, 0)

--Murders
statsLabel["murders"] = guiCreateLabel(0.06, 0.34, 0.41, 0.09, "Murders:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["murders"],"center")
guiSetFont (statsLabel["murders"], "default-bold-small" )
guiLabelSetColor(statsLabel["murders"], 0, 0, 0)

--Bandits Killed
statsLabel["banditskilled"] = guiCreateLabel(0.06, 0.43, 0.41, 0.12,"Bandits killed:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["banditskilled"],"center")
guiSetFont (statsLabel["banditskilled"], "default-bold-small" )
guiLabelSetColor(statsLabel["banditskilled"], 0, 0, 0)

--Blood
statsLabel["blood"] = guiCreateLabel(0.06, 0.79, 0.41, 0.09, "Blood:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["blood"],"center")
guiSetFont (statsLabel["blood"], "default-bold-small" )
guiLabelSetColor(statsLabel["blood"], 51, 225, 28)


--Temperature
statsLabel["temperature"] = guiCreateLabel(0.06, 0.85, 0.41, 0.09, "Temperature:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["temperature"],"center")
guiSetFont (statsLabel["temperature"], "default-bold-small" )
guiLabelSetColor(statsLabel["temperature"], 51, 225, 28)

--Humanity
statsLabel["humanity"] = guiCreateLabel(0.06, 0.24, 0.31, 0.09, "Humanity:",true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["humanity"],"center")
guiSetFont (statsLabel["humanity"], "default-bold-small" )
guiLabelSetColor(statsLabel["humanity"], 0, 0, 0)

--Name
statsLabel["name"] = guiCreateLabel(0.10, 0.09, 0.62, 0.09, "                       "..getPlayerName(getLocalPlayer()),true,statsWindows)
--guiLabelSetHorizontalAlign (statsLabel["name"],"center")
guiSetFont (statsLabel["name"], "default-bold-small" )
guiLabelSetColor(statsLabel["name"], 51, 225, 28)
setElementData(statsLabel["name"],"identifikation","name")

if getElementData(localPlayer,"logedin") then
    guiSetVisible(statsWindows,true)
else
    guiSetVisible(statsWindows,false)
end

function showDebugMonitor ()
    local visible = guiGetVisible(statsWindows)
    guiSetVisible(statsWindows,not visible)
end
bindKey("F5","down",showDebugMonitor)

function showDebugMintorOnLogin ()
    guiSetVisible(statsWindows,true)
end
addEvent("onClientPlayerDayZLogin", true)
addEventHandler("onClientPlayerDayZLogin", root, showDebugMintorOnLogin)

function refreshDebugMonitor()
    if getElementData(getLocalPlayer(),"logedin") then
    
    local value = getElementData(getRootElement(), "zombiesalive") or 0
    local value2 = getElementData(getRootElement(), "zombiestotal") or 0
    guiSetText(statsLabel["zombies1"], " " .. value .. "/" .. value2)

    local value = getElementData(getLocalPlayer(),getElementData(statsLabel["zombieskilled1"],"identifikation"))
        guiSetText(statsLabel["zombieskilled1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["headshots1"],"identifikation"))
        guiSetText(statsLabel["headshots1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["banditskilled1"],"identifikation"))
        guiSetText(statsLabel["banditskilled1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["murders1"],"identifikation"))
        guiSetText(statsLabel["murders1"]," "..value)
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["blood1"],"identifikation"))
        guiSetText(statsLabel["blood1"]," "..value)

        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["temperature1"],"identifikation"))
        guiSetText(statsLabel["temperature1"],""..math.round(value,2).."°C")
        
        local value = getElementData(getLocalPlayer(),getElementData(statsLabel["humanity1"],"identifikation"))
        guiSetText(statsLabel["humanity1"]," "..math.round(value,2))
        
        guiSetText(statsLabel["name"]," "..getPlayerName(getLocalPlayer()))
    end        
end
setTimer(refreshDebugMonitor,2000,0)
- Tutorial de instalação ScrollMenu -
#Procure pela pasta [DayZ-MTA]\DayZ\images
#Encontre o arquivo scrollmenu_1.png
#Substitua por:

Ver perfil do usuário

kowalski98

avatar
Survivor
Survivor
Smile

Ver perfil do usuário

Liquidator

avatar
Survivor
Survivor
Olá Galera , hoje venho trazer uma Resource da imagem de boas vindas
oque e imagem de boas vindas e uma imagem que aparece antes do painel de login,

Ver perfil do usuário

tomnight

avatar
Old Survivor
Old Survivor
vllw

Ver perfil do usuário

Smakosh3d

avatar
Survivor
Survivor
xxxxxxxxxxxxxxx

Ver perfil do usuário

Akihito209

avatar
Survivor
Survivor
asd

Ver perfil do usuário

BayKURT

avatar
Survivor
Survivor
tyy

Ver perfil do usuário

Oliveiraaa

avatar
Survivor
Survivor
dad

Ver perfil do usuário

pedrotjsxx


Survivor
Survivor
dsadasd

Ver perfil do usuário

rique123

avatar
Old Survivor
Old Survivor
bom

Ver perfil do usuário

rique123

avatar
Old Survivor
Old Survivor
bom

Ver perfil do usuário

rique123

avatar
Old Survivor
Old Survivor
bom

Ver perfil do usuário

gobyo4733

avatar
Survivor
Survivor
Nice

Ver perfil do usuário

Req2030

avatar
Survivor
Survivor
nice

Ver perfil do usuário

Conteúdo patrocinado


Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo  Mensagem [Página 2 de 4]

Ir à página : Anterior  1, 2, 3, 4  Seguinte

Permissão deste fórum:
Você não pode responder aos tópicos neste fórum