Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/06/22 in all areas

  1. Hello MTA developers, today I have added the Linux version of the FileSystem 2.0 release. I am sorry for the delay - caused by unnecessaringly technical and motivational factors - but this release is the most stable Linux version yet. It is made possible by directly linking to the deathmatch.so Linux module so that fileSystem.so does use the actual Lua implementations exported by MTA. I was unable to get a LuaRocks version ready because I do not understand how to integrate my custom Code::Blocks build system into it. If there is sufficient interest and straight-forward help I might deliver that too. Wouldn't want to disrespect the hard-effort by qaisjp and co. Only AMD 64bit is supported. Hit me up if you need any other platform. Download it here: https://green-candy.osdn.jp/external/releases/fileSystem_2_0_linux.zip Have fun! ?
    4 points
  2. This MTA module is about total filesystem access to your MTA server. You can find it's documentation here. It supports the Windows and Linux operating systems, each with different and specialized details (path handling, OS calls, etc). Contains many neat features such as memory-mapped files, stream copy helpers, direct binary-encoded writing and reading API, etc. The module has got a very long history (used in Scene2Res, Magic.TXD). It is very strongly unit tested. If you like this module then you can use it's C++ API for even greater freedom. Current version: 2.0 Source code location (Module-specific): Source Tree: blueMods/fileSystem/ (head) - green-candy (svn) - green-candy - OSDN Source code location (C++ Library): Source Tree: FileSystem/ (head) - eirfs (svn) - Eir FileSystem - OSDN Download (Win32): https://green-candy.osdn.jp/external/releases/fileSystem_2_0_win32.zip Download (Linux): https://green-candy.osdn.jp/external/releases/fileSystem_2_0_linux.zip
    1 point
  3. predefined variable localPlayer doesn't exist serverside. You can direclty set the name as first argument, It'll send to root element by default, and so every players children. bool triggerClientEvent ( [ table/element sendTo = getRootElement(), ] string name, element sourceElement [, arguments... ] ) Set the sourceElement (3rd parameter), I suggest resourceRoot (the present resource). triggerClientEvent("eventName", resourceRoot) You can aim specific players by passing a table as first parameter (or loop). By the way be careful with your addEventHandler("onResourceStart", ...). Set getRootElement() (same as root predefined variable) will have for result to trigger the function everytime a resource is starting. You should rather use resourceRoot (for the actual resource). addEventHandler("onResourceStart", resourceRoot, createMinigunWeapon)
    1 point
  4. Hi, we do have some server protection tools available - I can take a closer look if you PM me your server IP address, its full name, and the date it was created
    1 point
  5. Cria uma nova permissão(right), na acl que você quer que tenha permissão para executar o comanod que você quiser, exemplo <right name="command.vip" access="true"></right> e no script verifica se a pessoa tem permissão pra usar esse comando, usando: hasObjectPermissionTo, exemplo: -- Script type="client" addCommandHandler("vip", function() if hasObjectPermissionTo(source, "command.vip", true) == true then -- Verificar se o player que executou o comando tem permissão, para executar o commando "vip" -- Aqui você bota o que você quer fazer se o player tiver permissão de executar tal comando else -- Se o player não tiver a permissão, ele será avisado outputChatBox("Você não tem permissão para fazer isso", 255,0,0) end end) Faça esse script no lado do client
    1 point
  6. It should be working now. @ozulus I have added the large update for the airplane resource. NOTE: Both resources must be updated to the latest version. As promised, high performance after initializing and nearly zero latency. - Added a last minute fix for an unexpected error. 1.1.0 > 1.1.1 Note: Not all bugs have been fixed. Like for example, aircraft can still fly through mountains. But you can adjust that by adding the aircraft manually.
    1 point
×
×
  • Create New...