Returning unknown command
#5

Quote:
Originally Posted by Nixtren
Посмотреть сообщение
Hi,

Great! Now you should compile your GameMode in debug mode so CrashDetect can output more useful information (like the exact line on which the error occurs). To do so you need to pass the flag "-d3" to the Pawn compiler, you can easily do this by creating a "pawn.cfg" file inside the Pawno folder with the following contents:
Код:
-r -O0 -d3
After doing that, compile the GameMode, run the server and post the server log here again
pawn Код:
[21:23:08] [debug] Run time error 4: "Array index out of bounds"
[21:23:08] [debug]  Accessing element at negative index -1
[21:23:08] [debug] AMX backtrace:
[21:23:08] [debug] #0 003a3bb8 in public cmd_refuel (playerid=0, params[]=@0x0a0f87a4 "") at C:\Users\Conor\Desktop\restore\LGRP\gamemodes\LGRP.pwn:59885
[21:23:08] [debug] #1 native CallLocalFunction () [00474110] from samp-server.exe
[21:23:08] [debug] #2 0000edc0 in ?? (... <2 arguments>) at C:\Users\Conor\Desktop\restore\LGRP\pawno\include\zcmd.inc:102
[21:23:08] [debug] #3 00008f88 in public OnPlayerCommandText (playerid=0, cmdtext[]=@0x0a0f8784 "/refuel") at C:\Users\Conor\Desktop\restore\LGRP\pawno\include\YSI\y_hooks/impl.inc:918
That what your looking for?
Reply


Messages In This Thread
Returning unknown command - by conor565 - 06.09.2015, 19:00
Re: Returning unknown command - by Nixtren - 06.09.2015, 19:49
Re: Returning unknown command - by conor565 - 06.09.2015, 19:54
Re: Returning unknown command - by Nixtren - 06.09.2015, 20:07
Re: Returning unknown command - by conor565 - 06.09.2015, 20:23
Re: Returning unknown command - by Nixtren - 06.09.2015, 20:39
Re: Returning unknown command - by Threshold - 07.09.2015, 03:56

Forum Jump:


Users browsing this thread: 1 Guest(s)