Jump to content

[HELP] GPS


ViRuZGamiing

Recommended Posts

Posted

Hello again,

I'm getting better but I want to know how I can add an Image in the left down corner.

I've photoshopped a picture for HUD.

What do I need?

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted
dxDrawImage 

or

guiCreateStaticImage 

(both of them are client side)

If you go for the dxDrawImage then you will need to render it with 'onClientRender'

Posted

I've fixed it, Can I create an Image on bindKey ?

I want my own Scoreboard.

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted

uhm to add new score board use this

function() 
        call(getResourceFromName("scoreboard"),"addScoreboardColumn","AddYourNewColoumnName") --Add it to scoreboard 
    end 
) 

YOU HAVE TO TRUST SOMEONE TO BE BETRAYED.I NEVER DID

Posted
local playerX, playerY, playerZ = getElementPosition 
  
if getKeyState ( "tab" ) == true then  
  
function draw () 
dxDrawImage(4, 4, screenHeight)  
end  
  
function HandleTheRendering()  
addEventHandler("onClientRender", root, draw) 
end 
  
addEventHandler("onClientResourceStart", resource) 

How bout this? Sry i wrote this mobile but i never used dxdraw before.

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted
local playerX, playerY, playerZ = getElementPosition(getLocalPlayer()) 
  
function draw() 
   if getKeyState ( "tab" ) == true then 
       dxDrawImage(screenX, screenY, width, height, "image_path") 
   end 
end 
  
addEventHandler("onClientRender", root, draw) 

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