Jump to content

[REL]GTAIV-style hud 1.3 RELEASED


karlis

Recommended Posts

  • Replies 170
  • Created
  • Last Reply

Top Posters In This Topic

  • MTA Team
Posted

CONGRATULATIONS ON YOUR RELEASE KARLIS!!! That is great!!!

I will definitely test it out, but I will do that tommorow :D

Good luck on your future versions :D Tommorow i will stress test it for bugs.

(lmfao@ur sig)

Posted (edited)
  
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
Posted (edited)

i typed getinfo into the console and nothing happens. I restarted my server and the resource but nothing happens :?:

Edited by Guest
Posted

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) 

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...