TrueLife Posted June 14, 2013 Share Posted June 14, 2013 Hello I have an idea for a custom HUD. It will contain several images and I will need to layer them. Currently I have the main background part of the hud which is a black panel. When the script is enabled the black panel shows up all the time. Even on login screen... I would like it to only load on player login and I will also need it to load a very similar setup when entering a vehicle. so In vehicle it will show Vehicle Hud and when on foot It will show Normal HUD. --- anyways the current hud background panel appears on top of the mini map which I need to place on top if it. Also the radio stations and MTA version in the bottom right are covered up. Any help with this would be greatly appreciated. function showClientImage() guiCreateStaticImage( -0.001, 0.799, 1.0, 0.2, "hud1.png", true, nil ) end addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), showClientImage ) Link to comment
GrimTheXReaperrr Posted July 4, 2013 Share Posted July 4, 2013 TrueLife try posting this in the support section that way more people will find this so hopfully you may get the help you need Link to comment
GrimTheXReaperrr Posted July 15, 2013 Share Posted July 15, 2013 i'm not to sure if your using your own custom scripts and ect ect but i'll just assume your using RP scripts thats been released but for example you could do something like this local logged = getElementData(yourVaribleHere, "loggedin") if (logged==1) then -- logged ==1 in most servers means they are logged in 0 means player is not logged in blah blah set blah blah get my point ? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now