Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 19/10/21 in all areas

  1. This is an amazing effort done by SKC Vanilla staff, for making an amazing FORMULA 1 type-like event on MTA:SA - here are the video from the official race, they converted maps, they did scripts by their own. As a classic race player i'm proud of what they did. Tell me, if you like that also ;)
    2 points
  2. Guys go to any GitHub repository and press the period (.) key in your keyboard. Watch the magic happens... https://github.com/multitheftauto/mtasa-resources
    1 point
  3. There are multiple topics out there which explain the basics of scaling and positioning. You probably have seen those in the tutorial section, so I am not going to refer to those. Anyway, how about you give this utility/helper function a try? https://wiki.multitheftauto.com/wiki/GetScreenStartPositionFromBox The second example shows you how to combine scaling with position. If I create something with dx function I most of the time make use of that helper to speed things up. @Turbesz
    1 point
  4. Absolutely amazing. I like racing games and it looks like a totally different game.
    1 point
  5. You're welcome! Working with the GPU is very complicated because it is a piece of hardware that has been incrementally created. A lot of things that seem intuitive will lead you to annoying & strong drawbacks, most likely due to aging & limited API design (Direct3D9). That is why it is important to get support on our forums whenever your drawing code does not work how you imagine it.
    1 point
  6. ?. Download and run MTADiag and follow the instructions. When completed you will be given a pastebin link, post it here. Perhaps there will be something useful for diagnostics. Then go to your MTA San Andreas folder, find the MTA/logs/clientscript.log file, upload it to https://upload.mtasa.com/ and share the link here.
    1 point
  7. Wojak, on opisuje sposób na ominięcie prostej blokady pisania na koloro na czacie - dokładnie to takiej: function stripColors(text) return string.gsub(text,"#[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]","") end I o ile stripColors poradzi sobie usunięciem koloru z "#FF0000Hej", to z "##FF0000FF0000Hej" - już nie. A skoro PanSkorpionek pochwalil się, jak to ominąć, to ja zaprezentuje poprawioną i odporną na to wersję tej funkcji: local function stripColors(text) local cnt=1 while (cnt>0) do text,cnt=string.gsub(text,"#[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]","") end return text end Ta usuwa już wszystkie kolory.
    1 point
×
×
  • Create New...