Recommended Posts

 

local stat = dxGetStatus()
local bit = nil
function vgaDraw()
	if not getElementData(localPlayer,"loggedin") then return end
	if not getElementData(localPlayer,"togHUD") then return end
	if not interface:getNode(10,"showing") then return end
	if stat["Setting32BitColor"] then
		bit = 32
	else
		bit = 16
	end
	dxDrawText(stat["VideoCardName"].."\nVRAM:"..stat["VideoMemoryFreeForMTA"].."/"..stat["VideoCardRAM"].."MB, FONT:"..stat["VideoMemoryUsedByFonts"].."MB,\nTEXTURE:"..stat["VideoMemoryUsedByTextures"].."MB, RTARGET:"..stat["VideoMemoryUsedByRenderTargets"].."MB,\nRATIO:"..stat["SettingAspectRatio"]..", SIZE:"..Screen[1].."x"..Screen[2].."x"..bit,interface:getNode(10, "x")-1,interface:getNode(10, "y"),sx,sy,tocolor(0,0,0,255),0.9,myriad,"left",nil,nil,nil,nil,true)	
	dxDrawText(stat["VideoCardName"].."\nVRAM:"..stat["VideoMemoryFreeForMTA"].."/"..stat["VideoCardRAM"].."MB, FONT:"..stat["VideoMemoryUsedByFonts"].."MB,\nTEXTURE:"..stat["VideoMemoryUsedByTextures"].."MB, RTARGET:"..stat["VideoMemoryUsedByRenderTargets"].."MB,\nRATIO:"..stat["SettingAspectRatio"]..", SIZE:"..Screen[1].."x"..Screen[2].."x"..bit,interface:getNode(10, "x"),interface:getNode(10, "y")-1,sx,sy,tocolor(0,0,0,255),0.9,myriad,"left",nil,nil,nil,nil,true)	
	dxDrawText(stat["VideoCardName"].."\nVRAM:"..stat["VideoMemoryFreeForMTA"].."/"..stat["VideoCardRAM"].."MB, FONT:"..stat["VideoMemoryUsedByFonts"].."MB,\nTEXTURE:"..stat["VideoMemoryUsedByTextures"].."MB, RTARGET:"..stat["VideoMemoryUsedByRenderTargets"].."MB,\nRATIO:"..stat["SettingAspectRatio"]..", SIZE:"..Screen[1].."x"..Screen[2].."x"..bit,interface:getNode(10, "x"),interface:getNode(10, "y")+1,sx,sy,tocolor(0,0,0,255),0.9,myriad,"left",nil,nil,nil,nil,true)		dxDrawText(stat["VideoCardName"].."\nVRAM:"..stat["VideoMemoryFreeForMTA"].."/"..stat["VideoCardRAM"].."MB, FONT:"..stat["VideoMemoryUsedByFonts"].."MB,\nTEXTURE:"..stat["VideoMemoryUsedByTextures"].."MB, RTARGET:"..stat["VideoMemoryUsedByRenderTargets"].."MB,\nRATIO:"..stat["SettingAspectRatio"]..", SIZE:"..Screen[1].."x"..Screen[2].."x"..bit,interface:getNode(10, "x")+1,interface:getNode(10, "y"),sx,sy,tocolor(0,0,0,255),0.9,myriad,"left",nil,nil,nil,nil,true)	
	dxDrawText("#7cc576"..stat["VideoCardName"].."\n#FFFFFFVRAM:"..stat["VideoMemoryFreeForMTA"].."/"..stat["VideoCardRAM"].."MB, FONT:"..stat["VideoMemoryUsedByFonts"].."MB,\nTEXTURE:"..stat["VideoMemoryUsedByTextures"].."MB, RTARGET:"..stat["VideoMemoryUsedByRenderTargets"].."MB,\nRATIO:"..stat["SettingAspectRatio"]..", SIZE:"..Screen[1].."x"..Screen[2].."x"..bit,interface:getNode(10, "x"),interface:getNode(10, "y"),sx,sy,tocolor(255,255,255,255),0.9,myriad,"left",nil,nil,nil,nil,true)
end

Eu peguei um mod na gringa, e em uma parte do script achei esse código que me pareceu estranho, queria saber se ele é de alguma forma malicioso.

 

Share this post


Link to post

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.