V1RU5 Posted October 15, 2019 Share Posted October 15, 2019 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. Link to comment
DNL291 Posted October 15, 2019 Share Posted October 15, 2019 Não, só mostra informações do PC do jogador, como memória de vídeo livre, usada por fonte/render target/texturas, etc Movido para https://forum.multitheftauto.com/forum/97-portuguese-português/ @V1RU5 1 Link to comment
V1RU5 Posted October 15, 2019 Author Share Posted October 15, 2019 5 minutes ago, DNL291 said: Não, apenas mostra informações do PC do jogador, como memória de vídeo livre, usada por fonte / render target / texturas, etc Movido para https://forum.multitheftauto.com/forum/97-portuguese-português/ @ V1RU5 OBG Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now