[ARZ]Помощ с Lua.

Gs1q

Новичок
Автор темы
1
0
Версия SA-MP
  1. Другая
Нашёл один плагин, и переделал его слегка под себя (изменил ид предмета на который он реагирует и всё). Запускаю игру, загружаются все луа и пишет в чат но он не пишет. Открываю консоль,там написано что ошибок нет и луа загружен. Прописываю команду /mbot говорит что нет команды(то есть он не работает) я забил болт на это всё и просто игра, через 1-2ч мне написало в чат что луа этот загружен, я думаю чё за бред? через 1-2ч ток запустился, перезапустил игру и он опять не работает. Каждый раз ждать по 1-2ч нет желания, как это по фиксить (играю на лаунчере АРЗ)

SAMPFUNCS v5.5.0 rel.22 (SA-MP 0.3.7 R3-1)
Compiled: Sep 28 2020 04:13:37

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

Base address: 0x61F70000.
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.
samp.dll base addres: 0x03DC0000
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: C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader
[ML] (system) Installing pre-game hooks...
[ML] (system) Hooks installed.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\AHK.lua'...
[ML] (system) AHK.lua: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\AutoReboot.lua'...
[ML] (system) ML-AutoReboot: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\Bot.lua'...
[ML] (system) Bot.lua: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\check-moonloader-updates.lua'...
[ML] (system) Check MoonLoader Updates: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\cTime.lua'...
[ML] (system) TimeOnScreen: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\lock.lua'...
[ML] (system) Helper ARZP: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\marketcatcherv3.luac'...
[ML] (system) marketcatcherv3.luac: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\money_separator.lua'...
[ML] (system) money_separator.lua: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\reload_all.lua'...
[ML] (system) ML-ReloadAll: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\SF Integration.lua'...
[ML] (system) SF Integration: Loaded successfully.
[ML] (system) Loading script 'C:\GAMES\ARIZONA GAMES\bin\ArizonaV\moonloader\_Ww__InfoHud.lua'...
[ML] (system) InfoHud: Loaded successfully.
[ML] (system) Installing post-load hooks...
[ML] (system) Hooks installed.
Direct3DDevice9 hook installed.
Hook "SAMP: RakPeer::HandleRPCPacket" installed.
Initializing SAMP data...
NetGame 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.5.0 rel.22 (SA-MP 0.3.7 R3-1) completely loaded!
[ML] (script) TimeOnScreen: Created default settings.ini

Нужный мне Луа Bot.lua