Jump to content

[HELP] GPS


ViRuZGamiing

Recommended Posts

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

uhm to add new score board use this

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

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.

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