Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 21/01/21 in all areas

  1. I have moved this into the Scripting section. Hopefully it will receive the attention it needs
    1 point
  2. Thanks for the report, I'll check it out. Can you tell me more info about how you use it? How attach/deatach it to player, and when?
    1 point
  3. comandos = {"test1", "test2", "test3", "test4"} for i, v in pairs(comandos) do addCommandHandler(v, funcaoTeste) end funcaoTeste(playerSource) outputChatBox("comando executado", playerSource) end
    1 point
  4. Faltou um end para fechar o escopo da função PainelKing()
    1 point
  5. The base64 format can be used to neutralize characters that would break the code otherwise. Therefore it can be used inside of other languages, with as result the possibility of having `images` inside HTML or CSS. Just upload an image on that website and you will see.
    1 point
  6. Hi, I'll showcase in this post the custom maps & 3D models that are available on the San Andreas Roleplay server (you can find the link for + info in my signature). 1. New roads near Angel Pine Remodelled the mountain terrain near the Angel Pine junkyard adding a paved road and a dirt road next to it. Seamless textures. Fits the game's atmosphere. Perfect collisions. BEFORE: AFTER: 2. New Palomino wooden bridge Remodelled the Palomino terrain that includes: - a wooden bridge that has flawless collisions and perfect textures - fixed the famous collision bug on the red bridge next to it BEFORE: AFTER: More creative 3D models and other interesting maps will be added to this post in the future.
    1 point
  7. 13.01.2021 Added our new Palomino wooden bridge mod:
    1 point
  8. -- meta.xml <meta> <info author="srslyyyyy" version="1.0" name="Test" type="script"/> <script src="test.lua" type="server"/> </meta> local allowedAuthor = {["srslyyyy"] = true} function testFunction() local author = getResourceInfo(getThisResource(), "author") local allowed_author = allowedAuthor[author] if allowed_author then outputDebugString("Everything okey.") else outputDebugString("Failed to load script.") cancelEvent() end end addEventHandler("onResourceStart", resourceRoot, testFunction) Check, should work, this is for server side, but i think you could do the same on client-side, with OnClientResourceStart. ps: fajny nick
    1 point
  9. UPDATE: This resource is now on version 1.1 This update includes: * Hydra targetting actions now trigger MTA events. * Only rendered vehicles are considered, making it scale much better on larger servers. * Many bugs fixed (Such as errors spawning from a hydra being deleted via "destroyElement" * The coloured boxes around the targets are now optional, and can be customized. * A new feature called "focus" to show what the events triggered can be used for. * Better colour choices. New demo video is here: ========================================== The creator of this bug report (https://bugs.mtasa.com/view.php?id=9763) gave me some good reasons why MTA's default Hydra missile targetting system needs to be redone. * GTA was not made for multiplayer, so bugs like the one he filed are present in the default targetting system * It is not flexible, the server cannot change parameters such as lock-on time, angle of detection, range, cooldown etc. * You cannot have team tagging, which would be a great feature. Don't you hate it when you're holding space your own clan mates get targetted? * You cannot cycle through possible targets. The game decides which target you locked on to, and you can't change it unless you move around and do random stuff. So, I decided to implement a custom Hydra targetting system with all these features, with help from Antix. (Thanks to Edeen, Slim, Meex, Ease and Khid for testing the script) This is a drop in replacement for GTA's default missile targetting system, and only adds a few features (that can be nerfed) while remaining faithful to the original mechanics. The resource is free (MIT License) and you can use it on your server if you want. Download it and read the instructions for customizing it here: https://github.com/Luca-spopo/better-hydra-missiles Once it gets used by enough servers and tested enough, maybe we can include this in the default resources as a replacement for the current hydra/hunter missile system.
    1 point
×
×
  • Create New...