кто шарит хелпаните

coinscio

Новичок
Автор темы
5
0
почему когда захожу в игру скрипт работает, а потом уже перестает работать

[10:48:19.824363] (system) Session started.
[10:48:19.825361] (debug) Module handle: 62BA0000

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

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

[10:48:19.825361] (info) Working directory: C:\NEWINDOWS\GTA SAMP\moonloader
[10:48:19.825361] (debug) FP Control: 0009001F
[10:48:19.825361] (debug) Game: GTA SA 1.0.0.0 US
[10:48:19.825361] (system) Installing pre-game hooks...
[10:48:19.826358] (system) Hooks installed.
[10:48:20.583533] (debug) Initializing opcode handler table
[10:48:20.583533] (debug) package.path = C:\NEWINDOWS\GTA SAMP\moonloader\lib\?.lua;C:\NEWINDOWS\GTA SAMP\moonloader\lib\?\init.lua;C:\NEWINDOWS\GTA SAMP\moonloader\?.lua;C:\NEWINDOWS\GTA SAMP\moonloader\?\init.lua;.\?.lua;C:\NEWINDOWS\GTA SAMP\moonloader\lib\?.luac;C:\NEWINDOWS\GTA SAMP\moonloader\lib\?\init.luac;C:\NEWINDOWS\GTA SAMP\moonloader\?.luac;C:\NEWINDOWS\GTA SAMP\moonloader\?\init.luac;.\?.luac
[10:48:20.583533] (debug) package.cpath = C:\NEWINDOWS\GTA SAMP\moonloader\lib\?.dll;
[10:48:20.585528] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\AutoReboot.lua'...
[10:48:20.585528] (debug) New script: 0ED517E4
[10:48:20.586525] (system) ML-AutoReboot: Loaded successfully.
[10:48:20.586525] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\check-moonloader-updates.lua'...
[10:48:20.586525] (debug) New script: 0ED5103C
[10:48:20.588520] (system) Check MoonLoader Updates: Loaded successfully.
[10:48:20.588520] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua'...
[10:48:20.588520] (debug) New script: 0ED50BA4
[10:48:20.592511] (system) extraMessages: Loaded successfully.
[10:48:20.592511] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\reload_all.lua'...
[10:48:20.592511] (debug) New script: 0ED511C4
[10:48:20.593507] (system) ML-ReloadAll: Loaded successfully.
[10:48:20.593507] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\SF Integration.lua'...
[10:48:20.593507] (debug) New script: 0ED5165C
[10:48:20.595502] (system) SF Integration: Loaded successfully.
[10:48:31.560655] (system) Installing post-load hooks...
[10:48:31.561681] (system) Hooks installed.
[10:49:00.687364] (error) extraMessages: C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua:86: attempt to concatenate local 'one' (a nil value)
stack traceback:
C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua:86: in function 'divide'
C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua:23: in function 'callback'
C:\NEWINDOWS\GTA SAMP\moonloader\lib\samp\events\core.lua:79: in function <C:\NEWINDOWS\GTA SAMP\moonloader\lib\samp\events\core.lua:53>
[10:49:00.688361] (error) extraMessages: Script died due to an error. (0ED50BA4)
 

ARMOR

011110000111100101101001
Модератор
4,966
6,882
почему когда захожу в игру скрипт работает, а потом уже перестает работать

[10:48:19.824363] (system) Session started.
[10:48:19.825361] (debug) Module handle: 62BA0000

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

Copyright (c) 2016, BlastHack Team

[10:48:19.825361] (info) Working directory: C:\NEWINDOWS\GTA SAMP\moonloader
[10:48:19.825361] (debug) FP Control: 0009001F
[10:48:19.825361] (debug) Game: GTA SA 1.0.0.0 US
[10:48:19.825361] (system) Installing pre-game hooks...
[10:48:19.826358] (system) Hooks installed.
[10:48:20.583533] (debug) Initializing opcode handler table
[10:48:20.583533] (debug) package.path = C:\NEWINDOWS\GTA SAMP\moonloader\lib\?.lua;C:\NEWINDOWS\GTA SAMP\moonloader\lib\?\init.lua;C:\NEWINDOWS\GTA SAMP\moonloader\?.lua;C:\NEWINDOWS\GTA SAMP\moonloader\?\init.lua;.\?.lua;C:\NEWINDOWS\GTA SAMP\moonloader\lib\?.luac;C:\NEWINDOWS\GTA SAMP\moonloader\lib\?\init.luac;C:\NEWINDOWS\GTA SAMP\moonloader\?.luac;C:\NEWINDOWS\GTA SAMP\moonloader\?\init.luac;.\?.luac
[10:48:20.583533] (debug) package.cpath = C:\NEWINDOWS\GTA SAMP\moonloader\lib\?.dll;
[10:48:20.585528] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\AutoReboot.lua'...
[10:48:20.585528] (debug) New script: 0ED517E4
[10:48:20.586525] (system) ML-AutoReboot: Loaded successfully.
[10:48:20.586525] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\check-moonloader-updates.lua'...
[10:48:20.586525] (debug) New script: 0ED5103C
[10:48:20.588520] (system) Check MoonLoader Updates: Loaded successfully.
[10:48:20.588520] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua'...
[10:48:20.588520] (debug) New script: 0ED50BA4
[10:48:20.592511] (system) extraMessages: Loaded successfully.
[10:48:20.592511] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\reload_all.lua'...
[10:48:20.592511] (debug) New script: 0ED511C4
[10:48:20.593507] (system) ML-ReloadAll: Loaded successfully.
[10:48:20.593507] (system) Loading script 'C:\NEWINDOWS\GTA SAMP\moonloader\SF Integration.lua'...
[10:48:20.593507] (debug) New script: 0ED5165C
[10:48:20.595502] (system) SF Integration: Loaded successfully.
[10:48:31.560655] (system) Installing post-load hooks...
[10:48:31.561681] (system) Hooks installed.
[10:49:00.687364] (error) extraMessages: C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua:86: attempt to concatenate local 'one' (a nil value)
stack traceback:
C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua:86: in function 'divide'
C:\NEWINDOWS\GTA SAMP\moonloader\ExtraMessages.lua:23: in function 'callback'
C:\NEWINDOWS\GTA SAMP\moonloader\lib\samp\events\core.lua:79: in function <C:\NEWINDOWS\GTA SAMP\moonloader\lib\samp\events\core.lua:53>
[10:49:00.688361] (error) extraMessages: Script died due to an error. (0ED50BA4)
Как я понял, ты юзаешь в этом скрипте хук onServerMessage и потом юзаешь string.match да?