Jump to content

Need help


sajunga

Recommended Posts

What is wrong?

addEventHandler('onClientRender',g_Root,function() 
    dxDrawText("Lithuania rp", screenWidth-200, 0, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1, "pricedown") 
    dxDrawText("Lithuania rp", screenWidth-197.2, 2.8, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "pricedown") 
    dxDrawLine(screenWidth-200, 32, screenWidth, 32, tocolor(255, 255, 255, 255), 2) 
    end 
end 

Edited by Guest
Link to comment
function updateCamera () 
    screenWidth,screenHeight = guiGetScreenSize() 
    dxDrawText("Lithuania rp", screenWidth-200, 0, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1, "pricedown") 
    dxDrawText("Lithuania rp", screenWidth-197.2, 2.8, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "pricedown") 
    dxDrawLine(screenWidth-200, 32, screenWidth, 32, tocolor(255, 255, 255, 255), 2) 
end 
addEventHandler ( "onClientRender", getRootElement(), updateCamera ) 

Link to comment

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