-
Posts
410 -
Joined
-
Last visited
-
Days Won
32
Everything posted by FernandoMTA
-
reshade does make the game look sexy as f*ck i can't deny that
-
Rip. Send me a friend req I'll make an exception
-
Sorry, I usually don't accept Discord friend req out of the blue. Send me a forum PM
-
Fixed in latest of https://community.multitheftauto.com/index.php?p=resources&s=details&id=18882
-
It's possible to have custom new vehicle & skin models in the Freeroam default MTA gamemode while not replacing any GTA vehicles or skins! Download & Instructions: https://github.com/Fernando-A-Rocha/mtasa-resources/releases/tag/v3.3.0-newmodels-freeroam detects all mods you have added in your newmodels resource so you don't have to edit the lists (XML) manually runs this procedure automatically when you start the freeroam_newmodels resource there is a command for you to scan for new models and update the lists involves very few code changes to the original freeroam resource works flawlessly with newmodels, syncing the models of your server's vehicles & skins to every player automatically PS. The concept is very similar to what I did for newmodels Map Editor.
-
@BranD @SDabdlmounaim96 Sorry but what you guys are saying about element data doesn't make sense. Look at the script BranD posted. It does setElementData on the localPlayer with the sync value to true (default), it is synchronized and BrenD's comment above is wrong. All other clients have this synced to them and can do getElementData on their side, to retrieve other players looking at position. This is how he syncs the looking at position, it's with element data that is transferred from the client to the server and then to all clients. Doing this every 100ms is not a good idea period. I'll look into what you said about ped aiming. There is no such thing as client to client synchronization
-
@BranD Your script spams element data every 100ms, this is not good for the server. Synchronization calls will be too excessive and it will result in horrible lag. Your script also won't work properly as it's obtaining Z position of 10 with getWorldFromScreenPosition(width/2, height/2, 10), resulting in players' heads looking down or up if they're not at that height on the map. I had come up with a simple optimized solution that is 100% clientside: https://community.multitheftauto.com/index.php?p=resources&s=details&id=18882 Please take this as constructive criticism, no offense.
-
Join my new Discord Community where I post updates of all my projects! https://discord.gg/eUK7HcnT2J
- 3 replies
-
- free
- open source
-
(and 1 more)
Tagged with:
-
They are recommended functions to handle password hashing in MTA, yes. Check the wiki: - https://wiki.multitheftauto.com/wiki/PasswordHash - https://wiki.multitheftauto.com/wiki/PasswordVerify
-
I can't believe it's already been a year! Time flies...
-
Hello, from my understanding what you can do is: - disable vehicle engine sounds (and the ones you want to replace) using https://wiki.multitheftauto.com/wiki/SetWorldSoundEnabled - https://wiki.multitheftauto.com/wiki/World_sound_groups - play custom sounds using playSound and playSound3D You can't just "replace" game sounds sadly, they need to be first disabled then you may use custom MTA functions to play sounds. You could use these scripts for inspiration, but I don't recommend using the entire resource in your server because this is a bit outdated and could be better optimized. https://github.com/brzys/bengines @TYMECRUISER47
-
Useful: printing current function name: local function myFunc() print(debug.getinfo(1, "n").name); end myFunc()
-
Thank you. I've been using this with no problems.
-
@J4cobLIVEmain You should ask on the Sphene Discord as there's several people there who are familiar with the game code.
-
Try Malwarebytes Anti-Malware (Free trial) @1Molodoy1
-
SAES/VCES Community's 20-Year Milestone on Multi Theft Auto.
FernandoMTA replied to Brophy's topic in Servers
-
open source [REL] Discord Webhooks Tool (supports Embeds)
FernandoMTA replied to FernandoMTA's topic in Resources
v2.0.1 released (minor patch) -
Nice guide! You can upload images to your application on the Discord Developers Platform; these are called "assets" and have a name. You can use these asset names in the first argument of setDiscordRichPresenceAsset. For example: -- will display my server's logo asset image -- with the server name text when mouse hovered over the image setDiscordRichPresenceAsset("my_logo", "Server Name")
-
what about this? @Shady1 https://stackoverflow.com/questions/18313171/lua-rounding-numbers-and-then-truncat
-
string.format should definitely be more used in MTA scripts. I see people doing string concatenation all over the place. It often creates long and confusing code lines, especially when you involve if conditions. Using string.format would make the code more readable. Good guide!
-
v3.3.0 released! https://github.com/Fernando-A-Rocha/mta-add-models/releases/tag/v3.3.0 PERMANENT SOLUTION (NON-LAGGY) TO VEHICLE HANDLING FOR ADDED MODELS Thank you @Grafu and @botder for creating and merging mtasa-blue PR #1935 respectively, which now allows clients to set vehicle handling, thus making synced new-model vehicle handling work!
-
Hi! Thankfully you can add new vehicle models using my resource (and also with your own implementations, although this makes your life much easier): However, there is a bug (or lack of feature) that prevents the new vehicles that take the properties of the base vehicle models you decide from having special properties like attaching to trailers, ZR 350 headlights, water cannons, etc https://github.com/multitheftauto/mtasa-blue/issues/1861
-
MTA is open source. Anyone can make a "fork" of the codebase. Search mtasa-blue on GitHub and visit the MTA development discord. It's not an easy task though!
-
I'm sorry but that's not possible. This stuff is hard coded in the game and we need help of MTA contributors to make it possible.
-
That is a bug, see https://github.com/multitheftauto/mtasa-blue/issues/1861 I don't know if it will be fixed in the future, you can ask in MTA development discord (it's been discussed in the past). It's very disappointing, I know how it feels