Не работает скрипт | LUA

maloy0372

Новичок
Автор темы
14
1
Версия SA-MP
  1. 0.3.7 (R1)
Всем привет. Столкнулся с такой проблемой: установил библиотеки moonloader`а, закинул туда скрипт. Скрипт почему то выбивает ошибку, хз почему. Помогите разобраться в чём дело, и как это исправить.
SAMPFUNCS v5.4.1-final rel.21 (SA-MP 0.3.7-R1)
Compiled: Dec 24 2018 03:13:37

Copyright (c) 2013-2018, BlastHack Team <blast.hk>

Base address: 0x6FE50000.
Initializing opcodes...
Opcodes initialized successfully. Total opcodes: 382.
Hook "CTimer::GetRealTimeScale" installed.
Hook "CPad::Update" installed.
Hook "CCamera::RenderMotionBlur" installed.
Hook "CScriptThread::AddScriptToQueue" installed.
Hook "CScriptThread::RemoveScriptFromQueue" installed.
Hook "CScriptThread::Process" installed.
Hook "WinMainLoop" installed.
Hook "CLoadingScreen::RenderSplash" installed.
Hook "CVehicle::CVehicle" installed.
Hook "CVehicle::~CVehicle" installed.
Hook "CPed::CPed" installed.
Hook "CPed::~CPed" installed.
Initializing plugins...
SF Plugin "Reconnect+.sf" loaded.
samp.dll base addres: 0x044A0000
Hook "SAMP: CNetGame::CNetGame" installed.
Hook "SAMP: CDialog::Close" installed.
Hook "SAMP: QuitGame" installed.
Hook "SAMP: CCmdWindow::ProcessInput" installed.
[ML] (system) Session started.
[ML]
MoonLoader v.026.5-beta loaded.
[ML] Developers: FYP, hnnssy, EvgeN 1137

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

[ML] (info) Working directory: D:\Games\GTA San Andreas MultiPlayer v0.3.7\moonloader
[ML] (system) Installing pre-game hooks...
[ML] (system) Hooks installed.
[ML] (system) Loading script 'D:\Games\GTA San Andreas MultiPlayer v0.3.7\moonloader\AutoReboot.lua'...
[ML] (system) ML-AutoReboot: Loaded successfully.
[ML] (system) Loading script 'D:\Games\GTA San Andreas MultiPlayer v0.3.7\moonloader\check-moonloader-updates.lua'...
[ML] (system) Check MoonLoader Updates: Loaded successfully.
[ML] (system) Loading script 'D:\Games\GTA San Andreas MultiPlayer v0.3.7\moonloader\reload_all.lua'...
[ML] (system) ML-ReloadAll: Loaded successfully.
[ML] (system) Loading script 'D:\Games\GTA San Andreas MultiPlayer v0.3.7\moonloader\SF Integration.lua'...
[ML] (system) SF Integration: Loaded successfully.
[ML] (system) Loading script 'D:\Games\GTA San Andreas MultiPlayer v0.3.7\moonloader\SupportHelper_1.lua'...
[ML] (error) Support Helper: ...ndreas MultiPlayer v0.3.7\moonloader\SupportHelper_1.lua:95: attempt to index local 'font_flag' (a nil value)
stack traceback:
...ndreas MultiPlayer v0.3.7\moonloader\SupportHelper_1.lua: in function <...ndreas MultiPlayer v0.3.7\moonloader\SupportHelper_1.lua:92>
stack traceback:
[C]: in function 'create'
...ndreas MultiPlayer v0.3.7\moonloader\SupportHelper_1.lua:92: in main chunk
[ML] (error) Support Helper: Script died due to an error. (0A508480)

[ML] (system) Installing post-load hooks...
[ML] (system) Hooks installed.
Direct3DDevice9 hook installed.
Hook "SAMP: RakPeer::HandleRPCPacket" installed.
Initializing SAMP data...
Info initialized.
Pools initialized.
Player pool initialized.
Vehicle pool initialized.
Chat initialized.
Input initialized.
Death list initialized.
Dialog initialized.
Misc data initialized.
Scoreboard initialized.
RakNet initialized.
SAMPFUNCS v5.4.1-final rel.21 (SA-MP 0.3.7-R1) completely loaded!