LUA Scripts Reloader

Rate:
Downloads: 3
Views: 499
Comments: 0
Category: Tools
Upload by: Wissens

Description

A few days ago I was looking here and on GTA Forums how to reboot LUA scripts ingame. Not finding anything specific (only suggestive examples) - I risked by myself write such code: [See attached archive & ScreenShots]. It seems that something happened. Scripts are reloading Now. You need to throw [scripts] folder from the archive in the root folder of the GTA 5 game and remove all unnecessary to you *.lua files, except main [again.lua] (if you want). Modify your Lua Script without turning off the game, save the *.lua file, return to the game and press in it on the key [F12] (can be changed) - and that's all. Codes will reload.



Added as a bonus:

1.]Remove all weapons from all nearby peds (push button [K]);

2.]Give to all nearby peds a desired weapon (push button [U]) (write the desired hash-code for weapons in the script);

3.]Upgrade any vehicle to maximum stuff (push [Pause/Break] button);

4.]Call 3 BodyGuards (push [F11] button).



The code is very simple as it turned out, it works and it is important! Maybe to someone it will come in handy, I'm not special in programming, but many things may be changed there on the fly, the weapons of the Guard on the go and so on - I think it's convenient. The example is in the video!!!



Need to be installed also for the proper work:

1.) http://dev-c.com/files/ScriptHookV_1.0.372.2a.zip

2.) https://github.com/gallexme/LuaPlugin-GTAV/archive/master.zip

(Unzip and put *.dll files from the first and LUA_SDK.asi with the script folder, - from the second archive in your GTA V root folder, if haven't done this yet).



Video: https://www.youtube.com/watch?v=5bB_svltWjA
Show Full Description

Rating

0
5
4
3
2
1
Your rate

Write comment:

Please enter review or comment.
Please choose a name.
Email invalid.