Jump to content

AdmiralEstrus

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

463 profile views

AdmiralEstrus's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. INTRODUCTION While working on your scripts, you always want it to be as easy as it can be. For this needs we already have some packages for utilities like Sublime Text or Notepad++. They're really good, if you work on a single script and you don't have to switch between files. But when it comes to develop the server, you would want something more, than just a text editor. And this is IDE (Integrated Development Environment). At first I used CLion IDE, presented by JetBrains company, with intalled Lua plugin. Unfortunately this option also has some minuses, such as: this IDE requires much CPU and RAM, it's complicated to make a Lua(MTA:SA) plugin for it. Looking for a good Lua IDE, I found the best solution: "ZeroBrane studio", it's lightweight IDE for programming in Lua. And I've decided to make an API for MTA:SA programming. Later on I came on idea to share it with whole community. INSTALLATION 1. Download the ZeroBrane studio: https://studio.zerobrane.com/download (If this link isn't working, you can use this link: https://github.com/pkulchenko/ZeroBraneStudio ; Press "Clone or download" -> download ZIP. Extract it in any folder and start zbstudio.exe file) 2. Download mtalib.lua: https://github.com/AdmiralEstrus/zerobrane-mtasa-api and save it to "YourPathToZeroBraneStudioFolder\api\lua" folder 3. Go to "YourPathToZeroBraneStudioFolder\interpreters" folder, open luabase.lua file and edit the next line api = {"baselib"}, to api = {"baselib", "mtalib"}, 4. Save & Exit. 5. Open ZeroBraneStudio and start coding! An example: https://i.imgur.com/2Tii3a7.png Please, report all bugs to this topic or to discord PM: AdmiralE.#2107 CHANGELOG 03.09.2018 - Added all clientside functions and events. 02.09.2018 - Added all serverside functions and events.
×
×
  • Create New...