What does this error mean?
#4

pawn Код:
{
 GetPlayerPos(playerid,posX,posY,posZ);
 for ( new i = 0; i < MAX_PLAYERS; i++ ) {
 if ( i == GetTeamByName ("Lambo") ) {
 SetPlayerCheckpoint(i,posX,posY,posZ,5.0);
 SendTeamMessage(Team1, COLOR_RED, "Lambo Team Gather!");
 }
return 1;
}
There you go it should work

EDIT: oops thats wrong proper code is:

pawn Код:
{
 GetPlayerPos(playerid,posX,posY,posZ);
 new Team[MAX_PLAYERS] = GetTeamByName ("Lambo");
 for ( new i = 0; i < MAX_PLAYERS; i++ ) {
 if ( Team[i] == 5 ) {
 SetPlayerCheckpoint(i,posX,posY,posZ,5.0);
 SendTeamMessage(Team1, COLOR_RED, "Lambo Team Gather!");
 }
 }
 return 1;
}
Reply


Messages In This Thread
What does this error mean? - by wiZaK - 28.02.2009, 17:16
Re: What does this error mean? - by Nimphious - 28.02.2009, 17:32
Re: What does this error mean? - by wiZaK - 28.02.2009, 17:39
Re: What does this error mean? - by JaYmE - 28.02.2009, 17:45
Re: What does this error mean? - by Vince - 28.02.2009, 17:47
Re: What does this error mean? - by JaYmE - 28.02.2009, 17:49
Re: What does this error mean? - by wiZaK - 28.02.2009, 18:49
Re: What does this error mean? - by wiZaK - 28.02.2009, 21:04
Re: What does this error mean? - by wiZaK - 01.03.2009, 00:14
Re: What does this error mean? - by JaYmE - 01.03.2009, 01:59

Forum Jump:


Users browsing this thread: 1 Guest(s)