28.06.2016, 12:21
Hi. When I do this command, the server crasha and I have this error in crash detect :
Command :
The filterscript is reloading. When it's done the server crash.
Код:
[14:16:14] [debug] Run time error 8: "Heap underflow" [14:16:14] [debug] Heap pointer (HEA) is 0x10A3450, heap bottom (HLW) is 0x10A3490 [14:16:14] [debug] AMX backtrace: [14:16:14] [debug] #0 00033e58 in ?? (... <4225463 arguments>) at test.pwn:1977 [14:16:14] [debug] #1 00000004 in public cmd_test () at <unknown file>:0 [14:16:14] [debug] #2 native CallLocalFunction () from samp-server.exe [14:16:14] [debug] #3 00000664 in ?? () at C:\-\pawno\include\zcmd.inc:104 [14:16:14] [debug] #4 00000138 in public OnPlayerCommandText () at C:\-\pawno\include\float.inc:133 [14:16:14] [debug] Server crashed while executing dmsystem.amx [14:16:14] [debug] AMX backtrace: [14:16:14] [debug] #0 00000664 in ?? () at C:\-\pawno\include\zcmd.inc:104 [14:16:14] [debug] #1 00000138 in public OnPlayerCommandText () at C:\-\pawno\include\float.inc:133 [14:16:14] [debug] Native backtrace: [14:16:14] [debug] #0 67b78c93 in ?? () from plugins\crashdetect.dll [14:16:14] [debug] #1 67b709c7 in ?? () from plugins\crashdetect.dll
PHP код:
CMD:test(playerid, params[])
{
SendRconCommand("reloadfs test");
return 1;
}