25.08.2011, 14:14
Fala merda nгo Chefгo.
aprende a coddar primeiro.
reconhece esse cуdigo lixo, nooboso?
aprende a coddar primeiro.
pawn Код:
if(strcmp(cmd, "/radio", true) == 0 || strcmp(cmd, "/r", true) == 0 || strcmp(cmd, "/gang", true) == 0 || strcmp(cmd, "/ga", true) == 0 || strcmp(cmd, "/f", true) == 0 || strcmp(cmd, "/familia", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/f)amilia [Familia chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/f)amilia [Familia chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/ga)ng [Gang Chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/ga)ng [Gang Chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/ga)ng [Gang Chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/ga)ng [Gang Chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/ga)ng [Gang Chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (f)amilia [familia chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (f)amilia [familia chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 25 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (f)amilia [familia chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 26 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (f)amilia [familia chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 27 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (f)amilia [familia chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 28 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 29 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pMember] == 30 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/r)adio [radio chat]");
return 1;
}
}
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Delegado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Capitao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Tenente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Sargento %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Oficial %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Cadete %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Cadete %s: %s **", sendername, result);
}
SendRadioMessage(1, TEAM_BLUE_COLOR, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Delegado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Capitao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Tenente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Sargento %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Oficial %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Cadete %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Cadete %s: %s **", sendername, result);
}
SendRadioMessage(2, TEAM_BLUE_COLOR, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Delegado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Capitao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Tenente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Sargento %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Oficial %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Cadete %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Cadete %s: %s **", sendername, result);
}
SendRadioMessage(3, TEAM_BLUE_COLOR, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Delegado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Capitao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Tenente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Sargento %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Oficial %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Cadete %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Cadete %s: %s **", sendername, result);
}
SendRadioMessage(4, TEAM_BLUE_COLOR, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** General %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Tenente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Sargento %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Cabo %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Soldado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Recruta %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Recruta %s: %s **", sendername, result);
}
SendRadioMessage(5, COR_EXERCITO, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Bombadeador %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Terrorista %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Membro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Homem-Bomba %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Homem-Bomba %s: %s **", sendername, result);
}
SendRadioMessage(6, COR_ALQAEDA, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Bombadeador %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Terrorista %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Membro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Homem-Bomba %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Homem-Bomba %s: %s **", sendername, result);
}
SendRadioMessage(7, COR_ASFARC, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Chefao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Chefe %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Gangster %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Membro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Novato %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Novato %s: %s **", sendername, result);
}
SendRadioMessage(8, COR_AZTECAS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Chefao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Chefe %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Gangster %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Membro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Novato %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Novato %s: %s **", sendername, result);
}
SendRadioMessage(9, COR_GROOVE, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Chefao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Chefe %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Gangster %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Membro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Novato %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Novato %s: %s **", sendername, result);
}
SendRadioMessage(10, COR_VAGOS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Chefao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Chefe %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Gangster %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Membro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Novato %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Novato %s: %s **", sendername, result);
}
SendRadioMessage(11, COR_BALLAS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Chefao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Chefe %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Gangster %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Membro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Novato %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Novato %s: %s **", sendername, result);
}
SendRadioMessage(12, COR_MAIORAIS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Diretor %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Gerente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Cirurgiao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Medico %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Enfermeiro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Estagiario %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Recruta %s: %s **", sendername, result);
}
SendRadioMessage(13, COR_SAMU, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Diretor %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Gerente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Cirurgiao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Medico %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Enfermeiro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Estagiario %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Recruta %s: %s **", sendername, result);
}
SendRadioMessage(14, COR_SAMU, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Produtor Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Editor Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Ancora do Jornal %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Editor Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Reporter Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Jornalista %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Jornalista %s: %s **", sendername, result);
}
SendRadioMessage(15, COR_NEWS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Produtor Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Editor Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Ancora do Jornal %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Editor Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Reporter Local %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Jornalista %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Jornalista %s: %s **", sendername, result);
}
SendRadioMessage(16, COR_NEWS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Produtor Geral %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Editor Geral %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Ancora do Geral %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Editor Geral %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Reporter Geral %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Jornalista %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Jornalista %s: %s **", sendername, result);
}
SendRadioMessage(17, COR_NEWS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Diretor %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Vice-Diretor %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Agente Especial %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Agente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Assasino Frio %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Matador %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Matador %s: %s **", sendername, result);
}
SendRadioMessage(18, COR_ASSASSINOS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Delegado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Capitao %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Tenente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Sargento %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Oficial %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Cadete %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Cadete %s: %s **", sendername, result);
}
SendRadioMessage(19, TEAM_BLUE_COLOR, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Gerente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Instrutor Mestre %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Instrutor %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Treinador %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Treinador %s: %s **", sendername, result);
}
SendRadioMessage(20, COR_INSTRUTOR, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Taxista Profissional %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Taxista Experiente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Taxista %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Taxista Em Treinamento %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Taxista Em Treinamento %s: %s **", sendername, result);
}
SendRadioMessage(21, COR_TAXI, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Sub-Lider %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Taxista Profissional %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Taxista Experiente %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Taxista %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Taxista Em Treinamento %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Taxista Em Treinamento %s: %s **", sendername, result);
}
SendRadioMessage(22, COR_TAXI, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Don %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Conselheiro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Capo %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Soldado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Associado %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Associado %s: %s **", sendername, result);
}
SendRadioMessage(23, COR_STRACCI, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Don %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Conselheiro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Capo %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Soldado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Associado %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Associado %s: %s **", sendername, result);
}
SendRadioMessage(24, COR_BARZINI, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 25 || PlayerInfo[playerid][pLeader] == 25)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Don %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Conselheiro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Capo %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Soldado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Associado %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Associado %s: %s **", sendername, result);
}
SendRadioMessage(25, COR_TATTAGLIAS, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 26 || PlayerInfo[playerid][pLeader] == 26)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Don %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Conselheiro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Capo %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Soldado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Associado %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Associado %s: %s **", sendername, result);
}
SendRadioMessage(26, COR_CUNEO, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 27 || PlayerInfo[playerid][pLeader] == 27)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Don %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Conselheiro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Capo %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Soldado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Capanga %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Associado %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Associado %s: %s **", sendername, result);
}
SendRadioMessage(27, COR_CORLEONE, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 28 || PlayerInfo[playerid][pLeader] == 28)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Prefeito %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Vice Prefeito %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Vereador %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Assessor %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Seguranca %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Motorista %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Motorista %s: %s **", sendername, result);
}
SendRadioMessage(28, COR_GOVERNO, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 29 || PlayerInfo[playerid][pLeader] == 29)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Prefeito %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Vice Prefeito %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Vereador %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Assessor %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Seguranca %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Motorista %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Motorista %s: %s **", sendername, result);
}
SendRadioMessage(29, COR_GOVERNO, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 30 || PlayerInfo[playerid][pLeader] == 30)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Governador %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Senador %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Deputado %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Ministro %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Seguranca %s: %s **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Motorista %s: %s **", sendername, result); }
else
{
format(string, sizeof(string), "** Motorista %s: %s **", sendername, result);
}
SendRadioMessage(30, COR_GOVERNO, string);
printf("%s", string);
format(string, sizeof(string), "* %s Disse algo pelo rбdio.", sendername);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Voce nao faz parte de uma Organizaзгo");
return 1;
}
}
return 1;
}