GTASA / moonloader /reload_all.lua
nttl050611's picture
Upload 2089 files
d7c5875 verified
Raw
History Blame Contribute Delete
440 Bytes
script_name('ML-ReloadAll')
script_author('FYP')
script_description('Press Ctrl + R to reload all lua scripts. Also can be used to load new added scripts')
if script_properties then
script_properties('work-in-pause', 'forced-reloading-only')
end
--- Main
function main()
while true do
wait(40)
if isKeyDown(17) and isKeyDown(82) then -- CTRL+R
while isKeyDown(17) and isKeyDown(82) do wait(80) end
reloadScripts()
end
end
end