Проблема с lua скриптом

CooperJack

Новичок
Автор темы
2
0
Скачал значить player in stream, закинул в moonloader, но ничего не работает, игра не видит скрипт, все файлы нужные вроде имеются.Вот лог:
[22:59:35.254440] (system) Session started.
[22:59:35.256440] (debug) Module handle: 5A650000

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

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

[22:59:35.256440] (info) Working directory: D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader
[22:59:35.256440] (debug) FP Control: 0009001F
[22:59:35.256440] (debug) Game: GTA SA 1.0.0.0 US
[22:59:35.256440] (system) Installing pre-game hooks...
[22:59:35.265441] (system) Hooks installed.
[22:59:36.747486] (debug) Initializing opcode handler table
[22:59:36.747486] (debug) package.path = D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\lib\?.lua;D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\lib\?\init.lua;D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\?.lua;D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\?\init.lua;.\?.lua;D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\lib\?.luac;D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\lib\?\init.luac;D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\?.luac;D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\?\init.luac;.\?.luac
[22:59:36.747486] (debug) package.cpath = D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\lib\?.dll;
[22:59:37.025499] (system) Loading script 'D:\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\moonloader\Players_in_stream.lua'...
[22:59:37.025499] (debug) New script: 05E2D85C
[22:59:37.028499] (system) Players in stream: Loaded successfully.
[22:59:45.673994] (system) Installing post-load hooks...
[22:59:45.674994] (system) Hooks installed.
[22:59:45.982011] (error) Players in stream: ...as + MultiPlayer [0.3e]\moonloader\Players_in_stream.lua:22: attempt to call global 'sampGetPlayerCount' (a nil value)
stack traceback:
...as + MultiPlayer [0.3e]\moonloader\Players_in_stream.lua: in function <...as + MultiPlayer [0.3e]\moonloader\Players_in_stream.lua:18>
[22:59:45.983012] (error) Players in stream: Script died due to an error. (05E2D85C)
[23:00:17.329804] (system) Unloading...
[23:00:17.378807] (system) Session terminated.