ZCMD Unknown Command Problem
#3

Here's the log:
Код:
[12:12:15] [debug] Run time error 4: "Array index out of bounds"
[12:12:15] [debug]  Accessing element at negative index -1
[12:12:15] [debug] AMX backtrace:
[12:12:15] [debug] #0 0001fa7c in public cmd_exit (playerid=0, ... <1 argument>) at F:\Scripting\SAMP\Green Country RP\gamemodes\GM.pwn:1669
[12:12:15] [debug] #1 native CallLocalFunction () [00472000] from samp-server.exe
[12:12:15] [debug] #2 00000580 in public OnPlayerCommandText (playerid=0, cmdtext[]=@0x0004713c "/exit") at F:\Scripting\SAMP\Green Country RP\pawno\include\zcmd.inc:104
Line 1669:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,5,hInfo[InHouse[playerid]][EnterX],hInfo[InHouse[playerid]][EnterY],hInfo[InHouse[playerid]][EnterZ]))
Also, MAX_HOUSES is 200
Reply


Messages In This Thread
ZCMD Unknown Command Problem - by Vlad64 - 04.02.2014, 08:25
Re: ZCMD Unknown Command Problem - by Konstantinos - 04.02.2014, 08:33
Re: ZCMD Unknown Command Problem - by Vlad64 - 04.02.2014, 09:00
Re: ZCMD Unknown Command Problem - by Konstantinos - 04.02.2014, 09:08
Re: ZCMD Unknown Command Problem - by Vlad64 - 04.02.2014, 09:14
Re: ZCMD Unknown Command Problem - by Konstantinos - 04.02.2014, 09:17
Re: ZCMD Unknown Command Problem - by Wizz123 - 04.02.2014, 09:21

Forum Jump:


Users browsing this thread: 2 Guest(s)