Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/11/22 in Posts

  1. LuaRocks is the package manager for Lua modules. Small tricks allow you to use it on MTA server. Installing Linux x64: Windows x86: Usage example: Installing packages is done by typing commands such as: Linux: luarocks install lua-cjson Windows: luarocks.exe install lua-cjson Now you are ready to load this package from MTA. Do this in your Lua script file: -- You should run this function once in your resource initLuaPackage() -- Load library local json = require "cjson" -- Use it print( json.encode({ key = "example" }) ) It's done. Tell me in PM, if you have any remarks and additional information for this tutorial. Thx
    2 points
  2. Hello @kerofek Please create a new appeal containing your MTA serial. If you don't know how to get it then open your MTA, press F8 and type serial
    1 point
  3. another great project,you are doing this job well
    1 point
×
×
  • Create New...