LUA Scripts Reloader 1.0
4,158
26
4,158
26
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
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
Pertama dimuat naik: 27 Jun, 2015
Tarikh Kemaskini: 27 Jun, 2015
Last Downloaded: 16 hours ago
16 Komen
More mods by Wissens:
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
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
Pertama dimuat naik: 27 Jun, 2015
Tarikh Kemaskini: 27 Jun, 2015
Last Downloaded: 16 hours ago
if you are using the LUA_SDK.asi you can already reload scripts with Ctrl+R
@diamond-optic Or if you have the scripthookv.dev file you can reload all mods using Ctrl+R, which would reload lua too
@ImMatt where can i find that scripthookv.dev file ???
@iTrungChemxX create a new text document and save-as "ScriptHookV.dev" without the quotation marks of course
@ImMatt just it??? and put it along side with all scripthook file ???
@iTrungChemxX Yup, right in your gta v directory. When in-game pressing Ctrl+r once will disable all mods(So you can remove unwanted mods or add new ones) Then pressing again will restart all mods :)
@ImMatt great. thank you so much. now I can mod GTA V effectively faster
@diamond-optic @ImMatt Nice thing, thank a lot, but, as I've been noticed, it doesn't load again ScriptHookVDotNet.asi, only unloads it, I mean combination of keys [Ctrl+R].
@Wissens pressing ctrl+r once unloads then pressing again reloads
as I can create or edit a file .asi?
@Wissens that's because ScriptHookVDotNet.asi reload button is INSERT key.
It's up to date or something? because I've seen some comments in other "Lua Loader" that most of the plugins are not updated. hopefully I can use it.
not updated
would you PLEASE try and make an AWESOME serverside mod for fivereborn and/or multifive ??
doesnt work for me ... f12 does nothing. contr. pased does also nothing. I have lua_jdk
ddint work and I read the code so its impossible but somehow it ruined the other scripts xD had to replace them with their original...