Почему не работает LUA?

Expl0ncee

Участник
Автор темы
127
10
[21:01:44.957961] (system) Session started.
[21:01:44.958958] (debug) Module handle: 6A7F0000

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

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

[21:01:44.958958] (info) Working directory: C:\Games\Namalsk\gtacr\moonloader
[21:01:44.958958] (debug) FP Control: 0009001F
[21:01:44.958958] (debug) Game: GTA SA 1.0.0.0 US
[21:01:44.958958] (system) Installing pre-game hooks...
[21:01:44.961958] (system) Hooks installed.
[21:01:48.155856] (debug) Initializing opcode handler table
[21:01:48.155856] (debug) package.path = C:\Games\Namalsk\gtacr\moonloader\lib\?.lua;C:\Games\Namalsk\gtacr\moonloader\lib\?\init.lua;C:\Games\Namalsk\gtacr\moonloader\?.lua;C:\Games\Namalsk\gtacr\moonloader\?\init.lua;.\?.lua;C:\Games\Namalsk\gtacr\moonloader\lib\?.luac;C:\Games\Namalsk\gtacr\moonloader\lib\?\init.luac;C:\Games\Namalsk\gtacr\moonloader\?.luac;C:\Games\Namalsk\gtacr\moonloader\?\init.luac;.\?.luac
[21:01:48.155856] (debug) package.cpath = C:\Games\Namalsk\gtacr\moonloader\lib\?.dll;
[21:01:48.192832] (system) Loading script 'C:\Games\Namalsk\gtacr\moonloader\doublehits.lua'...
[21:01:48.192832] (debug) New script: 1A9C2174
[21:01:48.194833] (system) doublehits: Loaded successfully.
[21:02:00.876567] (system) Installing post-load hooks...
[21:02:00.877566] (system) Hooks installed.
[21:02:00.877566] (error) doublehits: C:\Games\Namalsk\gtacr\moonloader\doublehits.lua:10: attempt to call global 'isSampAvailable' (a nil value)
stack traceback:
C:\Games\Namalsk\gtacr\moonloader\doublehits.lua: in function <C:\Games\Namalsk\gtacr\moonloader\doublehits.lua:9>
[21:02:00.877566] (error) doublehits: Script died due to an error. (1A9C2174)
[21:10:54.785684] (system) Unloading...
[21:10:54.820662] (system) Session terminated.