Accessing element at negative index -1
#1

Код:
[19:58:35] [debug] Run time error 4: "Array index out of bounds"
[19:58:35] [debug]  Accessing element at negative index -1
[19:58:35] [debug] AMX backtrace:
[19:58:35] [debug] #0 00049f30 in ?? (2) from ServerFile.amx
[19:58:35] [debug] #1 0000bcfc in public OnPlayerSpawn (2) from ServerFile.amx
Код:
if(GSkin[PGang[playerid]][GangLvl[playerid]-1] > 0)
	{
		SetPlayerSkin(playerid, GSkin[PGang[playerid]][GangLvl[playerid]-1]);
	}
if i remove the -1 all players are in black color in the server? Help. REP+
Reply


Messages In This Thread
Accessing element at negative index -1 - by dan40o - 15.03.2015, 18:33
Respuesta: Accessing element at negative index -1 - by alexus - 15.03.2015, 18:38
Re: Accessing element at negative index -1 - by dan40o - 15.03.2015, 18:55
Re: Accessing element at negative index -1 - by Evocator - 15.03.2015, 18:59
Respuesta: Accessing element at negative index -1 - by alexus - 15.03.2015, 19:24
Re: Accessing element at negative index -1 - by dan40o - 15.03.2015, 20:09
Re: Accessing element at negative index -1 - by Smileys - 15.03.2015, 22:50
Re: Accessing element at negative index -1 - by dan40o - 16.03.2015, 15:26
AW: Accessing element at negative index -1 - by Kaliber - 16.03.2015, 15:31
Re: Accessing element at negative index -1 - by dan40o - 17.03.2015, 17:21

Forum Jump:


Users browsing this thread: 2 Guest(s)