Jump to content

Imagem DX


Recommended Posts

Sinceramente tó meio irritado com esse DX , eu to tentando colocar um logo do meu servidor na tela usando o gui de DX , mas a imagem não aparece.

 

local screenW,screenH = guiGetScreenSize()
local resW,resH = 1366,768
local sW,sH =  (screenW/resW), (screenH/resH)

addEventHandler("onClientRender", root,
    function()
        dxDrawImage(screenW * 1186, screenH * 148, screenW * 140, screenH * 106, "luso.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
    end
)

client

<meta>
	<script src="client.lua" type="client" />
	
	<file src="luso.png" />

</meta>

meta

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