- Kotik -
Специалист
Вот возникает проблема при запуске с функцией. В чём причина, не могу понять...
[HIDE-POSTS=Server-log]
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[00:23:19] filterscripts = "" (string)
[00:23:19]
[00:23:19] Server Plugins
[00:23:19] --------------
[00:23:19] Loading plugin: crashdetect.so
[00:23:19] CrashDetect v4.15.1 is OK.
[00:23:19] Loaded.
[00:23:19] Loading plugin: regex.so
[00:23:19]
[00:23:19] ______________________________________
[00:23:19] Regular Expression Plugin v0.2.1 loaded
[00:23:19] ______________________________________
[00:23:19] By: Fro (c) Copyright <TBG> 2009-2011
[00:23:19] ______________________________________
[00:23:19] Loaded.
[00:23:19] Loading plugin: sscanf.so
[00:23:19]
[00:23:19] ===============================
[00:23:19] sscanf plugin loaded.
[00:23:19] (c) 2009 Alex "Y_Less" Cole
[00:23:19] 0.3d-R2 500 Players "dnee"
[00:23:19] ===============================
[00:23:19] Loaded.
[00:23:19] Loading plugin: streamer.so
[00:23:19] Loaded.
[00:23:19] Loading plugin: dc_cmd.so
[00:23:19] Daniel's CMD plugin v2.8
[00:23:19] (c) 2014 Daniel_Cortez
[00:23:19]
[00:23:19] Loaded.
[00:23:19] Loading plugin: mysql.so
[00:23:19] >> plugin.mysql: R41 successfully loaded.
[00:23:19] Loaded.
[00:23:19] Loaded 6 plugins.
[00:23:19]
[00:23:19] Filterscripts
[00:23:19] ---------------
[00:23:19] Loaded 0 filterscripts.
[00:23:20] [debug] Run time error 19: "File or function is not found"
[00:23:20] [debug] IsVehicleOccupied
[00:23:20] [debug] Run time error 19: "File or function is not found"
[00:23:20] [debug] IsVehicleOccupied
[00:23:20] Script[gamemodes/wrp.amx]: Run time error 19: "File or function is not found"
[00:23:20] Number of vehicle models: 0
[00:23:31] [debug] Server received interrupt signal
[00:23:31] [debug] Native backtrace:
[00:23:31] [debug] #0 f73fce8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[00:23:31] [debug] #1 f73f5bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[00:23:31] [debug] #2 f73f6dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[00:23:31] [debug] #3 f73f7176 in _ZN11CrashDetect11OnInterruptEPv () from plugins/crashdetect.so
[00:23:31] [debug] #4 f73fca7c in ?? () from plugins/crashdetect.so
[00:23:31] [debug] #5 f778ad40 in __kernel_rt_sigreturn () from linux-gate.so.1
[00:23:31] [debug] #6 f778ad55 in __kernel_vsyscall () from linux-gate.so.1
[00:23:31] [debug] #7 f74d6f86 in nanosleep () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[00:23:31] [debug] #8 f7504c7d in usleep () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[00:23:31] [debug] #9 080a9ed2 in ?? () from ./samp03svr
[00:23:31] [debug] #10 f7439a63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[00:23:31] [debug] #11 0804b4e1 in ?? () from ./samp03svr
[00:23:31] --- Server Shutting Down.
[00:23:31] [debug] Run time error 19: "File or function is not found"
[00:23:31] [debug] IsVehicleOccupied
[00:23:31]
[00:23:31] ______________________________________
[00:23:31] Regular Expression Plugin v0.2.1 unloaded
[00:23:31] ______________________________________
[00:23:31]
[00:23:31] ===============================
[00:23:31] sscanf plugin unloaded.
[00:23:31] ===============================
[00:23:31]
*** Streamer Plugin v2.7.1 by Incognito unloaded *** [/HIDE-POSTS]
Вот стоки с функциями:
[HIDE-POSTS=stock IsVehicleOccupied]
[/HIDE-POSTS]
Сразу скажу, мод самый уё*ищный Валерия Трефилова - World RolePlay - No Reklama
[HIDE-POSTS=Server-log]
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[00:23:19] filterscripts = "" (string)
[00:23:19]
[00:23:19] Server Plugins
[00:23:19] --------------
[00:23:19] Loading plugin: crashdetect.so
[00:23:19] CrashDetect v4.15.1 is OK.
[00:23:19] Loaded.
[00:23:19] Loading plugin: regex.so
[00:23:19]
[00:23:19] ______________________________________
[00:23:19] Regular Expression Plugin v0.2.1 loaded
[00:23:19] ______________________________________
[00:23:19] By: Fro (c) Copyright <TBG> 2009-2011
[00:23:19] ______________________________________
[00:23:19] Loaded.
[00:23:19] Loading plugin: sscanf.so
[00:23:19]
[00:23:19] ===============================
[00:23:19] sscanf plugin loaded.
[00:23:19] (c) 2009 Alex "Y_Less" Cole
[00:23:19] 0.3d-R2 500 Players "dnee"
[00:23:19] ===============================
[00:23:19] Loaded.
[00:23:19] Loading plugin: streamer.so
[00:23:19] Loaded.
[00:23:19] Loading plugin: dc_cmd.so
[00:23:19] Daniel's CMD plugin v2.8
[00:23:19] (c) 2014 Daniel_Cortez
[00:23:19]
Чтобы видеть скрытое содержание Зарегистрируйтесь на форуме!
[00:23:19] Loaded.
[00:23:19] Loading plugin: mysql.so
[00:23:19] >> plugin.mysql: R41 successfully loaded.
[00:23:19] Loaded.
[00:23:19] Loaded 6 plugins.
[00:23:19]
[00:23:19] Filterscripts
[00:23:19] ---------------
[00:23:19] Loaded 0 filterscripts.
[00:23:20] [debug] Run time error 19: "File or function is not found"
[00:23:20] [debug] IsVehicleOccupied
[00:23:20] [debug] Run time error 19: "File or function is not found"
[00:23:20] [debug] IsVehicleOccupied
[00:23:20] Script[gamemodes/wrp.amx]: Run time error 19: "File or function is not found"
[00:23:20] Number of vehicle models: 0
[00:23:31] [debug] Server received interrupt signal
[00:23:31] [debug] Native backtrace:
[00:23:31] [debug] #0 f73fce8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[00:23:31] [debug] #1 f73f5bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[00:23:31] [debug] #2 f73f6dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[00:23:31] [debug] #3 f73f7176 in _ZN11CrashDetect11OnInterruptEPv () from plugins/crashdetect.so
[00:23:31] [debug] #4 f73fca7c in ?? () from plugins/crashdetect.so
[00:23:31] [debug] #5 f778ad40 in __kernel_rt_sigreturn () from linux-gate.so.1
[00:23:31] [debug] #6 f778ad55 in __kernel_vsyscall () from linux-gate.so.1
[00:23:31] [debug] #7 f74d6f86 in nanosleep () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[00:23:31] [debug] #8 f7504c7d in usleep () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[00:23:31] [debug] #9 080a9ed2 in ?? () from ./samp03svr
[00:23:31] [debug] #10 f7439a63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[00:23:31] [debug] #11 0804b4e1 in ?? () from ./samp03svr
[00:23:31] --- Server Shutting Down.
[00:23:31] [debug] Run time error 19: "File or function is not found"
[00:23:31] [debug] IsVehicleOccupied
[00:23:31]
[00:23:31] ______________________________________
[00:23:31] Regular Expression Plugin v0.2.1 unloaded
[00:23:31] ______________________________________
[00:23:31]
[00:23:31] ===============================
[00:23:31] sscanf plugin unloaded.
[00:23:31] ===============================
[00:23:31]
*** Streamer Plugin v2.7.1 by Incognito unloaded *** [/HIDE-POSTS]
Вот стоки с функциями:
[HIDE-POSTS=stock IsVehicleOccupied]
PHP:
stock IsVehicleOccupiedEx(vehicleid)
{
foreach(new i:Player) if(GetPlayerState(i) == PLAYER_STATE_DRIVER && GetPlayerVehicleID(i) == vehicleid) return 1;
return 0;
}
stock IsVehicleOccupiedExEx(vehicleid)
{
foreach(new i:Player) if(GetPlayerVehicleID(i) == vehicleid) return 1;
return 0;
}
Сразу скажу, мод самый уё*ищный Валерия Трефилова - World RolePlay - No Reklama
