21.09.2012, 01:56
(
Последний раз редактировалось Coringa_Vilao; 07.11.2015 в 00:53.
)
Resolvido !
else if(PlayerInfo[i][SubLider] == 1);
else if(PlayerInfo[i][SubLider] == 1)
//-------------------------Sub Lideres --------------------//
if (strcmp(cmd,"/lideres 2",true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid,COLOR_WHITE, "|______________ Sub-Lideres Online ______________|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new celular = PlayerInfo[i][pPnumber];
if(PlayerInfo[i][pMembro] == 1 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Polнcia Militar) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_PM,string);
}
else if(PlayerInfo[i][pMembro] == 2 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(R.O.T.A) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_PR,string);
}
else if(PlayerInfo[i][pMembro] == 3 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Exercito) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_EXE,string);
}
else if(PlayerInfo[i][pMembro] == 4 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(S.A.M.U) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_SAMU,string);
}
else if(PlayerInfo[i][pMembro] == 5 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Los Aztecas) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_AZTECAS,string);
}
else if(PlayerInfo[i][pMembro] == 6 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Taliban) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_TAL,string);
}
else if(PlayerInfo[i][pMembro] == 7 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"=> Vice-Prefeito: %s <= Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_PRE,string);
}
else if(PlayerInfo[i][pMembro] == 8 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Hitmans) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_HITMAN,string);
}
else if(PlayerInfo[i][pMembro] == 9 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Reporteres) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_REP,string);
}
else if(PlayerInfo[i][pMembro] == 10 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Taxistas) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_TAXI,string);
}
else if(PlayerInfo[i][pMembro] == 11 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Policia Federal) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_PF,string);
}
else if(PlayerInfo[i][pMembro] == 12 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Mбfia Cosa Nostra) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_COSA,string);
}
else if(PlayerInfo[i][pMembro] == 13 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Mбfia Yakuza) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_YAK,string);
}
else if(PlayerInfo[i][pMembro] == 14 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Groove) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_GRO,string);
}
else if(PlayerInfo[i][pMembro] == 15 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Al'qaeda) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_AL,string);
}
else if(PlayerInfo[i][pMembro] == 16 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Polнcia Civil) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_PC,string);
}
else if(PlayerInfo[i][pMembro] == 17 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Front Yard Ballas) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_BALLAS,string);
}
else if(PlayerInfo[i][pMembro] == 18 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s(Los Vagos) Cel [%d] ID [%d]",sendername,celular,i);
SendClientMessage(playerid,COR_VAGOS,string);
}
else if(PlayerInfo[i][pMembro] == 19 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s (Comando Vermelho) Cel:[%d] ID:[%d]",sendername,celular,i);
SendClientMessage(playerid,0xF6000000,string);
}
else if(PlayerInfo[i][pMembro] == 20 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s (PCC) Cel:[%d] ID:[%d]",sendername,celular,i);
SendClientMessage(playerid,0xFFEC8BFF,string);
}
else if(PlayerInfo[i][pMembro] == 21 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s (Mercenбrios) Cel:[%d] ID:[%d]",sendername,celular,i);
SendClientMessage(playerid,0x8B4513FF,string);
}
else if(PlayerInfo[i][pLider] == 22 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider: %s (Hells Angels) Fone [%d] ID:[%d]",sendername,celular,i);
SendClientMessage(playerid,COR_HELLANGELS,string);
}
else if(PlayerInfo[i][pMembro] == 23 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider (Mayans) - Nome:%s ID [%d] - Cel[%d]",sendername,i,celular);
SendClientMessage(playerid,0xCCCC6666FFFF,string);
}
else if(PlayerInfo[i][pMembro] == 24 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider (Velozes e Furiosos) - Nome:%s ID [%d] - Cel[%d]",sendername,i,celular);
SendClientMessage(playerid,0x8B4513FF,string);
}
else if(PlayerInfo[i][pMembro] == 25 && PlayerInfo[i][pCargo] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,128,"Sub-Lider (Bombeiros) - Nome:%s ID [%d] - Cel[%d]",sendername,i,celular);
SendClientMessage(playerid,0xFF6600AA,string);
}
}
}
}
return 1;
}