
Toggle between walking and running (action mode) in first- and third-person views. (This is designed specifically with gamepads in mind, which do not allow walk-toggling by default.)
Quickly tap the “look behind” key (right thumbstick on the controller, C on the keyboard) in order to switch modes. You must tap it extremely fast on the keyboard; if the camera begins to rotate, the toggle will not be triggered.
By default, equipping a weapon switches to running, unequipping switches to walking. This can be disabled in the INI file.
ScriptHookV is required. The ASI loader is included.
Thanks to InfamousSabre for the help in looking for the right natives.
HISTORY
0.01 – Beta release.
0.02 – Code for stealth mode was backwards (and unnecessary). Removed. Added check for stealth mode in toggle reset.
0.03 – Added check to prevent toggle when switching weapons.
1.00 – Converted to C++ ASI (GTALua no longer required).
Credits:
chinagreenelvis
![Toggle Night/Thermal Vision (+ scope-only mode) [LUA] 1.3.3 Toggle Night/Thermal Vision (+ scope-only mode) [LUA] 1.3.3](https://gta5mod.net/wp-content/uploads/2019/12/0de5ac-aa8cb3-Untitled-1-150x150.jpg)



