Piorun

Members
  • Content Count

    421
  • Joined

  • Last visited

Community Reputation

7 Neutral

About Piorun

  • Rank
    Thug

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Piorun

    [WIP] MTA CLI

    Hi, This year I decided to make an unofficial CLI for MTA. For now I have: Resource is restarting after you will change source file (ex. .Lua) You can create new resource by typing "mta create <resourceName>" (i think it's great for begginers) You can compile all .Lua files to .luac just simply typing "mta compile" into CMD This CLI isn't finished yet so I'm looking for some feedback and features to add. You can test it today simply by installing it as global npm package. Full instalation manual is on repository. You can find it here: https://github.com/pawel-miczka/mta-cli Installation process is simple. First you need NodeJS on local computer. Then in CMD type: npm install -g mta-cli and then you can type into your CMD: mta --help for more details. If you don't have NodeJS installed I highly recommend doing it via chocolatey package manager (https://chocolatey.org/). If you have Chocolatey on your computer just simply type: choco install nodejs and NodeJS should get installed. You can install NodeJS in any different way.
  2. Hi, Like in title. I'm currently working on MacOS (web developer) so It would be nice to have one machine for work. If there is a way to do this now just show me how to.
  3. Is fetchRemote updated in 1.5.5 with additional parameters like options object with informations like request method, form fields, headers etc? @edit Ok, I read change list so I know it is ..
  4. Oh .. Ok, I'm kinda blind. Thanks for reply :D.
  5. Hi, How about official MTA Discord server? Where everyone could meet everyone, share some programming and mapping skills and also learn something new (like english language ).
  6. Ye, cause bitwise operators were sooo important ... Cool feature would be to extend existing MTA classes like Vehicle, Pickup etc. because we could easily make new classes like PoliceVehicle, RacePickup for cleaner code of course.
  7. It's working! Nice, thanks. One simple question: is this technique faster than normal calculations, for loops and dxSetPixelColor?
  8. Hi, My suggestion is to create two functions: dxRotateTexture and dxScaleTexture (ofc. for oop is Texture:rotate() and Texture:scale()) which will return new rotated and scaled texture or will work on texture in parameter.
  9. Sounds promising! I can't wait to test it. Thanks a lot! I will post updates in next hours.
  10. For example: I will plug something to USB. From batch i can detect it and then i want to restart my resource.
  11. I don't want to use lua for this. I want to use batch script. Which means - 'if something happens inside my OS i want to restart server'.
  12. Hi, Is possible to execute command on working server on windows? I mean I want to restart resource using batch without sending HTTP request on MTA Server.
  13. Ok but why there is an option like PolskiSebek12 said?
  14. Ok, fine, thanks for response. I will test it ;).
  15. You mean in mtaserver.conf? It is tested? I mean did someone tried change version to other like 5.2?