Jump to content

[REL]GTAIV-style hud 1.3 RELEASED


karlis

Recommended Posts

  • Replies 170
  • Created
  • Last Reply

Top Posters In This Topic

  
addCommandHandler("getInfo",function() 
    local info=dxGetStatus() 
    for k,v in pairs(info) do 
        outputConsole(k.." : "..tostring(v)) 
    end 
end) 
  
  

add this somewhere in the client.lua, but don't replace anything

then restart resource

then open console and type "getInfo"

show here what console did output.

Edited by Guest
Link to comment

is this right?

--events 
  
addEvent("onServerCreateRoundArea",true) 
addEvent("onServerChangeRoundAreaDimensions",true) 
addEvent("onServerChangeRoundAreaFlashing",true) 
addEvent("onServerChangeRoundAreaColor",true) 
addEventHandler("onServerCreateRoundArea",root,createRoundRadarArea) 
addEventHandler("onServerChangeRoundAreaDimensions",root,roundRadarAreaDimensions) 
addEventHandler("onServerChangeRoundAreaFlashing",root,roundRadarAreaFlashing) 
addEventHandler("onServerChangeRoundAreaColor",root,roundRadarAreaColor) 
addEventHandler("onClientPlayerWeaponFire",root,weaponFire) 
addEventHandler("onClientPlayerWeaponSwitch",root,weaponSwitch) 
addEventHandler("onClientResourceStart",resRoot,onStart) 
addEventHandler("onClientResourceStop",resRoot,onStop) 
local race=getResourceFromName("race") 
if race then 
    addEvent("onClientMapStarting",true) 
    addEventHandler("onClientMapStarting",getResourceRootElement(race),onRaceStart) 
    addEventHandler("onClientResourceStop",getResourceRootElement(race),onRaceStop) 
end 
addEventHandler("onClientMapStarting",root,reDelDefaultHUD) 
addEventHandler("onClientPlayerDamage",localP,ultilizeDamageScreen) 
addEventHandler("onClientElementDataChange",root,refreshElementData) 
addEventHandler("onClientPlayerVehicleEnter",root,vehEnter) 
addEventHandler("onClientPlayerVehicleStartExit",root,vehExit) 
addCommandHandler("getInfo",function() 
    local info=dxGetStatus() 
    for k,v in pairs(info) do 
        outputConsole(k.." : "..tostring(v)) 
    end 
end) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...