Jump to content

[AYUDA] F12 Captura de Pantalla


iSmokee

Recommended Posts

Posted

Hola como podría hacer esto:

Cuando un Jugador saque captura en la pantalla del servidor, cuando se guarde la foto en la carpeta de capturas diga el nombre del servidor o algo por ese estilo, si me podrian ayudar se los agradecería muchísimo... 

  • MTA Team
Posted

Simplemente bindea F12 a un render. Por ejemplo:

 

local sx,sy = guiGetScreenSize()
local relative = (sx*sy)/(800*600)
local font = dxCreateFont("AGENTORANGE.ttf", 200)

function background()
	if getKeyState("F12") then
		dxDrawText("MTA-LPM", 0, 0, sx, sy, tocolor(0, 255, 0, 9), 0.6*relative, font, "center", "center", nil, nil, true, nil, nil, -30)
	end
end
addEventHandler("onClientRender", root, background)
bindKey("F12", "down", background)

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...