error 033: array must be indexed
#1

I wrote this code:

Код:
new
		IPz[ 20 ],
		zIP[ 20 ]
	;
    mysql_fetch_field_row( fetch,"nolog" );      playerDB[ playerid ][ nolog ] = strval(fetch);
    mysql_get_field( "IP", IPz );
    new IPAS = GetPlayerIp(playerid,zIP,20);
	if( playerDB[ playerid ][ nolog ] == 1 )
	{
  		if( IPAS == IPz )
		{
 			SendClientMessage(playerid,COLOR,"Fucking veikia");
 			return 1;
		}
	}
but i have this error:

Код:
: error 033: array must be indexed (variable "IPz")
on this line:
Quote:

if( IPAS == IPz )

Reply


Messages In This Thread
error 033: array must be indexed - by ancezas - 18.12.2012, 09:35
Re: error 033: array must be indexed - by iWhite - 18.12.2012, 09:39
Re: error 033: array must be indexed - by Konstantinos - 18.12.2012, 09:39
Re: error 033: array must be indexed - by gtakillerIV - 18.12.2012, 09:40
Re: error 033: array must be indexed - by ancezas - 18.12.2012, 09:56
Re: error 033: array must be indexed - by Yiin - 18.12.2012, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)