AJUDA
#9

n deu certo:

LINHAS:

Код:
//Membros
if (strcmp("/membros", cmdtext,true)==0)
{
   if(IsPlayerConnected(playerid));
  {
		new teamnumber;
		if (PlayerInfo[playerid][pLider] != 0) teamnumber = PlayerInfo[playerid][pLider];
		else if (PlayerInfo[playerid][pMembro] != 0) teamnumber = PlayerInfo[playerid][pMembro];
		else
			{
			SendClientMessage(playerid,COLOR_GRAD1,"Voce nгo й Membro de uma Equipe!");
		return 1;
	}
  SendClientMessage(playerid,COLOR_YELLOW2,"Membros:");
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	if (IsPlayerConnected(i))
		{
		GetPlayerName(i,sendername,sizeof(sendername));
		format(string,sizeof(string),"");
		if (PlayerInfo[i][pLider] == teamnumber) format(string,sizeof(string),"%s [CHEFE]",sendername);
		else if (PlayerInfo[i][pMembro] == teamnumber) format(string,sizeof(string),"%s,Cargo: [%d].",sendername,PlayerInfo[i][pCargo]);
		if (strlen(string) > 1) SendClientMessage(playerid,COLOR_WHITE,string);
	}
}
}
return 1;
}
ERROS:

Код:
C:\Users\Andre\Ambiente de Trabalho\TDM -Next\GM\Uniao\Todos em Pastas\TDM - Next 2\gamemodes\lsw.pwn(1060) : error 036: empty statement
C:\Users\Andre\Ambiente de Trabalho\TDM -Next\GM\Uniao\Todos em Pastas\TDM - Next 2\gamemodes\lsw.pwn(1063) : error 017: undefined symbol "PlayerInfo"
C:\Users\Andre\Ambiente de Trabalho\TDM -Next\GM\Uniao\Todos em Pastas\TDM - Next 2\gamemodes\lsw.pwn(1063) : warning 215: expression has no effect
C:\Users\Andre\Ambiente de Trabalho\TDM -Next\GM\Uniao\Todos em Pastas\TDM - Next 2\gamemodes\lsw.pwn(1063) : error 001: expected token: ";", but found "]"
C:\Users\Andre\Ambiente de Trabalho\TDM -Next\GM\Uniao\Todos em Pastas\TDM - Next 2\gamemodes\lsw.pwn(1063) : error 029: invalid expression, assumed zero
C:\Users\Andre\Ambiente de Trabalho\TDM -Next\GM\Uniao\Todos em Pastas\TDM - Next 2\gamemodes\lsw.pwn(1063) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply


Messages In This Thread
AJUDA - by xolp25 - 13.02.2010, 18:56
Re: AJUDA - by Ricop522 - 13.02.2010, 21:46
Re: AJUDA - by xolp25 - 13.02.2010, 21:59
Re: AJUDA - by Whiteagle - 13.02.2010, 22:03
Re: AJUDA - by xolp25 - 13.02.2010, 22:41
Re: AJUDA - by Ricop522 - 14.02.2010, 00:50
Re: AJUDA - by andmeida10 - 14.02.2010, 08:32
Re: AJUDA - by xolp25 - 14.02.2010, 10:56
Re: AJUDA - by andmeida10 - 14.02.2010, 14:45
Re: AJUDA - by xolp25 - 14.02.2010, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)