SaintExec is a lua executor for Saint Row IV Re-Elected.
Epic games Version : Working.
Steam Version : Untested. (contact me on discord Nathnéfo#4261)
Download the lastest release. Open the injector before lauching the game, choose gameplay or interface (gameplay can only be executed in-game !) and execute the script.
A post on saintsrowmods explain everything : https://www.saintsrowmods.com/forum/threads/how-to-create-a-lua-script-for-saintexec.20376/.
Example script to inject into Gameplay (It makes your car invulnerable !):
function make_invulnerable(player_name, vehicle_name, i)
vehicle_set_invulnerable(vehicle_name)
end
on_vehicle_enter("make_invulnerable", LOCAL_PLAYER)
- Crash when calling printc too many times (Add a delay between with sleepc).
- Repair Issues.
- Add the ability to dump lua scripts.
- Make a tutorial.
- Make a Hook function inside lua.
A huge thank to ElCapor how help me a lot (This project would not be possible without him), the website saintsrowmods.com for the many resources on it contains and the library MinHook.
Project inspiration : sr4---hook, Axon.