help with these errors
#1

Код:
	 
new tcp[MAX_PLAYERS][32];  
                for(new i=0;i<MAX_PLAYERS;i++)
	        {
				new name[MAX_PLAYER_NAME];
				if(GetPlayerName(i,name,sizeof(name))==tcp[playerid])//tcp has a players name stored
				    {
				    leader[i]=inputtext;//wrong input text valuse, i give three and its gives 51
				    break;
				    }
			}
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1841) : error 033: array must be indexed (variable "tcp")
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1843) : error 006: must be assigned to an array
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
help with these errors - by THE_KNOWN - 08.03.2011, 13:57
Re: help with these errors - by Sascha - 08.03.2011, 14:03
Re: help with these errors - by rjjj - 08.03.2011, 14:04
Re: help with these errors - by THE_KNOWN - 08.03.2011, 14:23
Re: help with these errors - by THE_KNOWN - 08.03.2011, 14:27
Re: help with these errors - by Sasino97 - 08.03.2011, 14:32
Re: help with these errors - by THE_KNOWN - 08.03.2011, 14:35
Re: help with these errors - by Sasino97 - 08.03.2011, 14:37
Re: help with these errors - by THE_KNOWN - 08.03.2011, 14:42
Re: help with these errors - by Sascha - 08.03.2011, 15:19

Forum Jump:


Users browsing this thread: 4 Guest(s)