Jump to content

استفسار .


Recommended Posts

كذا ؟

addEventHandler("onClientRender", root, 
    function() 
    local screenx, screeny, worldx, worldy, worldz = getCursorPosition() 
        dxDrawImage(screenx, screeny, worldx, worldy, "Cursor.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) 
        setCursorAlpha(0) 
    end 
) 
  

Link to comment

addEventHandler ( "onClientResourceStart", resourceRoot, function (  ) 
      setCursorAlpha ( 0 ) 
end ) 
  
  
addEventHandler( "onClientRender", root, function (  ) 
    local screenx, screeny = getCursorPosition (   ) 
    dxDrawImage ( screenx, screeny, 10, 10, "Cursor.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) 
end ) 
Link to comment

addEventHandler ( "onClientResourceStart", resourceRoot, function (  ) 
      setCursorAlpha ( 0 ) 
end ) 
  
  
addEventHandler( "onClientRender", root, function (  ) 
    if ( isCursorShowing (  ) ) then 
     local screenx, screeny = getCursorPosition (   ) 
     dxDrawImage ( screenx, screeny, 10, 10, "Cursor.png", 0, 0, 0, tocolor(255, 255, 255, 255), false ) 
  end 
end ) 
Link to comment

addEventHandler ( "onClientResourceStart", resourceRoot, function (  ) 
      setCursorAlpha ( 0 ) 
end ) 
  
  
addEventHandler( "onClientRender", root, function (  ) 
    if ( isCursorShowing (  ) ) then 
        local cW, cH = getCursorPosition (   ) 
        local sW, sH = guiGetScreenSize (   ) 
        dxDrawImage (  cW * sW, cH * sH, 10, 10, "Cursor.png", 0, 0, 0, tocolor(255, 255, 255, 255), true ) 
    end 
end ) 
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...