Why the hell do you code one thing so simple as this you are the most cancers thats killing modding
Bah.
As it is a actually easy script, the sourcecode is within the obtain. I hope anybody getting began in scripting for GTAV finds it helpful.
The script its much less that 30 traces lengthy and can assist newcomers perceive the right way to take care of in-real-time situations, akin to “when the participant is in cowl”.
The script has been coded in Visible Studio Neighborhood 2015.
REQUIREMENTS
.NET Framework 4.5.2
Visible C++ 2015
ScriptHookV
ScriptHookVDotNet
Find out how to set up
Extract HealByLeaningOnWall.dll into /Grand Theft Auto V/scripts/.
Do not put the sourcecode file on /Grand Theft Auto V/scripts/ or the sport will load it too, ensuing within the script being ran twice. Nonetheless, you for those who solely place the sourcecode in that scripts folder, you may edit it freely and the modifications completed to the file can be loaded subsequent time ScriptHookVDotNet is reloaded, otherwise you load a save. Nonetheless, I counsel you utilize Visible Studio to edit scripts.
Credit:
Eddlm