Jan 6, 2023 03:40 PM
(This post was last modified: Jan 6, 2023 03:48 PM by Xamarin.)
I kinda doubt you are looking for ideas, otherwise, you would probably have already found what you were looking for on the first page of google.
To answer your question though, back in the day that I was checking out FiveM, the cheating "meta" was to hook a function that was involved with the script loading process (such as LoadBuffer) and then either dump the server's scripts or inject your own code in there. Obviously, as it usually happens with online games, the problem is the anti-cheat, and how you are going to deal with it. Usually, people bypass it either by evading it (choosing another function, changing method, etc.) or plainly attacking it (overriding hooks, emulating it, etc.). But that goes beyond what you initially asked.
In general, this is not a forum where you'll find the knowledge for what you are asking. UH and GH is where you should be heading since they are filled with game-hacking content, including what you are asking for. Nevertheless don't expect anybody to give you an undetected ready-made dumper/executor for free, or help you build one; if you really wanna do that, you'll have to start reading FiveM's code (which is thankfully for you OSS), and also start reversing (the anti-cheat).
In my opinion though, unless you planning to sell your future dumper, you might as well pay $20 for a dumper/executor and be done in less than 5 minutes.