Search the Community

Showing results for tags 'screenshot'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 2 results

  1. Hello! I'm trying to replace some paintjobs in my server but I don't know if that is even possible. For example: if I wanted to replace jester2.txd texture, how would I do it? Here is a screenshot of my .lua, in case of this could help in any way: https://drive.google.com/file/d/1VciiFOzO5Vv5mw5ziJBiNyDteDB6qRvP/view?usp=sharing I would appreciate if you could help me, cheers!
  2. Dear users, as you know, I'm scripting a MTA server on my LAN test server. I have problems about screenshots, this is the resource code serverside: function scatta(risx, risy) takePlayerScreenShot(client, risx, risy, getPlayerName(client), 100, 10000000) end function salvala(ris, stato, immstr, tick, param) local mom = getRealTime() if(stato == 'ok') then local ha = fileCreate('imm-'..param..'-'..tostring(mom['timestamp'])..'.jpg') if(ha) then fileWrite(ha, immstr) fileClose(ha) end end triggerClientEvent(getPlayerFromName(param), 'fotoritorno', '', stato) end addEvent('fotofalla', true) addEventHandler("fotofalla", getRootElement(), scatta) addEventHandler("onPlayerScreenShot", getRootElement(), salvala) And this is clientside: function falla() local x,y = guiGetScreenSize() triggerServerEvent('fotofalla', x, y) end function risu(stato) outputChatBox('Risultato funzione: '..stato) end addCommandHandler('faifoto', falla) addEvent('fotoritorno', true) addEventHandler("fotoritorno", getRootElement(), risu) As you can see, I wrote the variables' name in my language (so you know), and I can use serverside only to take screenshot, except for taking screen resolution from client. This script doesn't work. Where I did mistakes? Thanks