-
Posts
421 -
Joined
-
Last visited
Posts posted by Piorun
-
-
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.
-
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 ..
-
Oh ..
Ok, I'm kinda blind. Thanks for reply :D.
-
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 ).
-
On 24.08.2017 at 20:34, Jusonex said:
It's too big to be integrated in MTA directly for the few people that will actually use it.
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.
-
It's working! Nice, thanks.
One simple question: is this technique faster than normal calculations, for loops and dxSetPixelColor?
-
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.
-
Sounds promising! I can't wait to test it. Thanks a lot! I will post updates in next hours.
-
For example: I will plug something to USB. From batch i can detect it and then i want to restart my resource.
-
2 hours ago, Piorun said:
I mean I want to restart resource using batch.
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'.
-
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.
-
Ok but why there is an option like PolskiSebek12 said?
-
Ok, fine, thanks for response. I will test it ;).
-
You mean in mtaserver.conf? It is tested? I mean did someone tried change version to other like 5.2?
-
Like in topic - update Lua version. It has few cool things like __pairs and __ipairs (from 5.2 ofc.) metamethods...
-
Visual Studio Code. There is also plugin for debugging MTA's code.
-
Hi,
Today I decided to public my first "big" project called "Collections". Collections are just simple improvment for Lua's table. They (now) allows you to add and remove elements, merge 2 or more collections together and also - filter them (using method 'where'). For more check out my GitHub repository:
https://github.com/Pioruniasty/mta-lua-collections
I'm waiting for feedback
-
Hi,
Today I found that on steam there is GTA:SA for MacOS / OSX so i decided to write this topic. Can you compile MTA source code for MacOS also?
- 2
- 1
-
Hi,
Is possible to extend MTA classes like Vehicle, Player etc. using classlib by sbx320?
-
-
Hi,
Do WebSockets (for ex. libraries like Socket.IO) are working with browser created in MTA? I'm asking because I want to connect server via Socket.IO locally (NodeJS Express.js).
-
You mean by your code I can do something like
local p = Person("Piorun","test"); outputChatBox(p.address);
and it will work or I should call address in other way?
-
Show me how to mix private and public variables and we will be in da house.
-
C# is great oop language. There could be an option to choose between Lua and C# so ppl won't need to remake his scripts. Lua is bad if we are talking about oop. Many programmers prefer OOP over procedural cause it's better and cleaner.
[WIP] MTA CLI
in Resources
Posted · Edited by Piorun
Hi,
This year I decided to make an unofficial CLI for MTA. For now I have:
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:
and then you can type into your CMD:
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.