Не работает спидхак

santeera

Участник
Автор темы
52
2
Версия MoonLoader
.027.0-preview
Lua:
function Vehicle()

    if elements.checkboxes.rn.v then

            if isCharInAnyCar(PLAYER_PED) then

                local car = storeCarCharIsInNoSave(PLAYER_PED)

                local vector = {getCarSpeedVector(car)}

                local heading = getCarHeading(car)

                local turbo = fpsCorrection() / (elements.checkboxes.SpeedSmooth.v * 110)

                local force = {turbo, turbo, turbo}

                local Sin, Cos = math.sin(-math.rad(heading)), math.cos(-math.rad(heading))

                if vector[1] > -0.01 and vector[1] < 0.01 then force[1] = 0.0 end

                if vector[2] > -0.01 and vector[2] < 0.01 then force[2] = 0.0 end

                if vector[3] < 0 then force[3] = -force[3] end

                if vector[3] > -2 and vector[3] < 15 then force[3] = 0.0 end

                if Sin > 0 and vector[1] < 0 then force[1] = -force[1] end

                if Sin < 0 and vector[1] > 0 then force[1] = -force[1] end

                if Cos > 0 and vector[2] < 0 then force[2] = -force[2] end

                if Cos < 0 and vector[2] > 0 then force[2] = -force[2] end

                applyForceToCar(car, force[1] * Sin, force[2] * Cos, force[3] / 2, 0.0, 0.0, 0.0)

            end

        end

    end
 

santeera

Участник
Автор темы
52
2

MoonLoader v.027.0-preview3 loaded.
Developers: FYP, hnnssy, EvgeN 1137

Copyright (c) 2016, BlastHack Team
https://www.blast.hk/moonloader/

[14:54:03.089239] (debug) Module handle: 0x70710000
[14:54:03.090239] (info) Working directory: D:\17k_kichiro LOWPC\moonloader
[14:54:03.090239] (debug) FP Control: 0x0109001F
[14:54:03.090239] (debug) Windows: 10.0.17763 2
[14:54:03.090239] (debug) Game: GTA SA 1.0 US 'HoodLum'
[14:54:03.090239] (system) Installing pre-game hooks...
[14:54:03.093244] (system) Hooks installed.
[14:54:04.707238] (debug) Opcode handler table: 0x7429cca0
[14:54:04.707238] (debug) LUA_PATH = D:\17k_kichiro LOWPC\moonloader\libstd\?.lua;D:\17k_kichiro LOWPC\moonloader\libstd\?\init.lua;D:\17k_kichiro LOWPC\moonloader\lib\?.lua;D:\17k_kichiro LOWPC\moonloader\lib\?.luac;D:\17k_kichiro LOWPC\moonloader\lib\?\init.lua;D:\17k_kichiro LOWPC\moonloader\lib\?\init.luac
[14:54:04.707238] (debug) LUA_CPATH = D:\17k_kichiro LOWPC\moonloader\libstd\?.dll;D:\17k_kichiro LOWPC\moonloader\lib\?.dll
[14:54:04.712238] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\3.0.lua"... (id:1)
[14:54:04.718240] (script) AutoReboot: Requested packages: copas
[14:54:04.746239] (debug) AutoReboot: Installed check took 0.028s.
[14:54:04.766238] (system) AutoReboot: Loaded successfully.
[14:54:04.767244] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\AutoReboot.lua"... (id:2)
[14:54:04.768244] (system) ML-AutoReboot: Loaded successfully.
[14:54:04.768244] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\Connect Tool v3.0 beta.lua"... (id:3)
[14:54:05.058240] (system) Connect Tool: Loaded successfully.
[14:54:05.058240] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\DualMonitorFix.lua"... (id:4)
[14:54:05.061239] (system) Dual Monitor Fix: Loaded successfully.
[14:54:05.061239] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\imgui_notf.lua"... (id:5)
[14:54:05.068240] (system) imgui_notf.lua: Loaded successfully.
[14:54:05.068240] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\reload_all.lua"... (id:6)
[14:54:05.069239] (system) ML-ReloadAll: Loaded successfully.
[14:54:05.069239] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\SF Integration.lua"... (id:7)
[14:54:05.072239] (system) SF Integration: Loaded successfully.
[14:54:05.072239] (system) Loading script "D:\17k_kichiro LOWPC\moonloader\ugenrl.lua"... (id:8)
[14:54:05.080239] (system) ugenrl.lua: Loaded successfully.
[14:54:07.290239] (system) Installing post-load hooks...
[14:54:07.290239] (system) Hooks installed.

Screenshot_10.png
Screenshot_11.png
Screenshot_12.png