Jump to content

dx_hud


Recommended Posts

no me anda... activo el hudby y donde aparecen las armas, money, health y armour queda dos veces , el que trae el default y el hudby se ve feo

meta:

    "Gaby" version="1.0" description="Hudby" name="News" type="script" /> 
    

script hudby2.lua

function hud () 
         showPlayerHudComponent ( source, "all", true ) 
end 
addEventHandler("onPlayerSpawn", getRootElement(), hud) 

Link to comment

Intenta con esto

client side

function quitar ( ) 
    setTimer ( 
        function ( ) 
            for _, hud in ipairs ( { "armour", "health", "money", "clock", "weapon", "ammo", "money", "wanted" } ) do 
                showPlayerHudComponent ( hud, false ) 
            end 
        end 
        ,1000, 1 
    ) 
end 
addEventHandler ( "onClientPlayerSpawn", localPlayer, quitar ) 
  

Link to comment

En el c_main.lua esta esta parte:

allHUDElements = { 
    "ammo", 
    "area_name", 
    "armour", 
    "breath", 
    "clock", 
    "health", 
    "money", 
    "radar", 
    "vehicle_name", 
    "weapon", 
} 

Tiene que quedar:

allHUDElements = { 
    "area_name", 
    "radar", 
    "vehicle_name", 
} 

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...