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

thanks, that would be great

most important to test, as i did only short thests on them:

wanted level hud

serversided commands for the circular radar areas

Posted

i'm thinking of far more advanced settings system.

for now use the client.lua, first 50lines are settings.

i'll contain component disabling there tomorrow hopefully.

Posted

thanks, i added the rpg and flame-thrower, they are awesome, but in my opinion googles need to be from side aswell.And as default/your googles icon is not in best quality ill keep them like they are for now.

Posted

that your video memory is full and it failed to make the render target.

what are your pc specs?

and, did you change anything in the code?

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

lol i failed badly, please recopy the code.

EDIT:wait a couple of minutes, need sort something out

EDIT2: ok, copy it again, now it works for sure.

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