Помогите, не запускается скрипт .lua

Logic :)

Участник
Автор темы
8
1
Что делать? При попытке запуска auto pilot 5.0 выходит это:
[21:24:02.558360] (system) Session started.
[21:24:02.559360] (debug) Module handle: 707A0000

MoonLoader v.026.5-beta loaded.
Developers: FYP, hnnssy, EvgeN 1137

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

[21:24:02.559360] (info) Working directory: C:\Games\SAMP\moonloader
[21:24:02.559360] (debug) FP Control: 0009001F
[21:24:02.559360] (debug) Game: GTA SA 1.0.0.0 US
[21:24:02.559360] (system) Installing pre-game hooks...
[21:24:02.563360] (system) Hooks installed.
[21:24:03.190379] (debug) Initializing opcode handler table
[21:24:03.190379] (debug) package.path = C:\Games\SAMP\moonloader\lib\?.lua;C:\Games\SAMP\moonloader\lib\?\init.lua;C:\Games\SAMP\moonloader\?.lua;C:\Games\SAMP\moonloader\?\init.lua;.\?.lua;C:\Games\SAMP\moonloader\lib\?.luac;C:\Games\SAMP\moonloader\lib\?\init.luac;C:\Games\SAMP\moonloader\?.luac;C:\Games\SAMP\moonloader\?\init.luac;.\?.luac
[21:24:03.190379] (debug) package.cpath = C:\Games\SAMP\moonloader\lib\?.dll;
[21:24:03.355278] (system) Loading script 'C:\Games\SAMP\moonloader\AutoPilot by Scar v5.0 [NEW].lua'...
[21:24:03.355278] (debug) New script: 0B3DAD4C
[21:24:03.410244] (system) AutoPilot by Scar v5.0 [NEW].lua: Loaded successfully.
[21:24:13.941739] (system) Installing post-load hooks...
[21:24:13.942739] (system) Hooks installed.
[21:24:13.951732] (error) AutoPilot by Scar v5.0 [NEW].lua: C:\Games\SAMP\moonloader\AutoPilot by Scar v5.0 [NEW].lua:101: attempt to call global 'isSampAvailable' (a nil value)
stack traceback:
C:\Games\SAMP\moonloader\AutoPilot by Scar v5.0 [NEW].lua: in function <C:\Games\SAMP\moonloader\AutoPilot by Scar v5.0 [NEW].lua:100>
[21:24:13.951732] (error) AutoPilot by Scar v5.0 [NEW].lua: Script died due to an error. (0B3DAD4C)