Select one of the following categories to start browsing the latest GTA 5 PC mods:
@Baber180 You can enable and disable various components or parts of the script by modifying the top (config) section of the script.
@prosperus This is the page for JM36 Lua Plugin and not Cruise Controls, but if you open the ini configuration files for those scripts, it has a configuration option to change the keybinding to whatever you want, and a link to a FiveM Game Reference Controls Documentation that gives you all the numbers for the various controls that you can change it to.
@Trancenath91 yes, JM36 Lua Plugin offers a function accessible via "configFileWrite" and "configFileRead" which you would be able to use for persistent data or data preservation (so that you can save and restore the amount of medkits you have when restarting the game).
Another difference is that "Speed Limit" requires you to hold the throttle even when/while it is set active, otherwise you will not go anywhere (as it does not accelerate or anything at all, just limits your maximum speed to the speed limit).
@TryMny0 No problem!
@InfamousSabre While they do both indeed share a lot of similarities of being a "cruise control" script in regards to the posts, "Traditional" is more traditional in that it attempts to maintain whatever cruising speed you set it at while active, meanwhile "Speed Limit" attempts to limit your maximum speed to be that of the speed limit of the road/street/area. Internally, both scripts are completely different.
@TryMny0 Well, without ScriptHookV, pretty much no script mods will work (including this one which requires it to operate), and without this script mod those script mods will also not work. You will either need to wait for ScriptHookV to update to be able to use script mods again, or you will need to figure out a way how to revert/downgrade your game to an older version where it does work. ScriptHookV loads JM36 Lua Plugin, JM36 Lua Plugin loads Smooth Traditional Cruise Control. So as long as you can get ScriptHookV running, you can get the rest to run as well too.
@cakuzma Ah, I'm on the latest version of the game, completely forgot about SHV updates and such as I have and use another method for loading and using this stuff currently (can't/won't discuss it). I will see though, if with the current state of JM36 LP whether I can manage to implement the detection of vehicles and adjust/limit speeds based upon their speeds. If not, then it'll just be whenever I or someone can update the iCore/ASI/C part of the script I'd finally be able to do that. Also, the formatting of these newer scripts are way/far more modern and should be much easier to understand and work with overall, so in theory it should be easier for you to remake the same modifications. Forking on GitHub could also help manage bringing in newer code/changes and keeping your modifications (if you want, and of course there's also the sharing aspects too or just improvements for things to work better together out of the box).
@mrwallace888 I've just published it, it's as simple to use as this one is currently (no keys to adjust speed beyond just toggling it on and off for now) and it works in a more "traditional" sense where it instead tries to maintain your desired cruising speed (allowing you to let go of your "INPUT_VEH_ACCELERATE" key) rather than try to limit your speed to maintain the speed limit while you hold your "INPUT_VEH_ACCELERATE" key in.