[Pomoc] Faction /r Chat

Započeo sedin007, Septembar 02, 2011, 00:09:54 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: San Andreas RPG/DM
Detaljan opis problema: Ovako imam /r chat ali su mi balas i lcn zbugani svi vide njihov chat pa bi molio nekog da mi posalje /r chat .?
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):



Postaj tu /r chat pa cecmo ti poravit...

evo ti /r

CMD:r(playerid, params[])
{
new sendername[MAX_PLAYER_NAME];
new idx;
new string[128];
    if(IsPlayerConnected(playerid))
    {
  if(PlayerInfo[playerid][pMuted] == 1)
{
format(string, sizeof(string), "Utisan | Zabranjeno ti je pisanje jos %d sekundi(%d minuta)", PlayerInfo[playerid][pMuteTime], (PlayerInfo[playerid][pMuteTime]/60)+1);
SCM(playerid, COLOR_YELLOW, string);
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(params);
while ((idx < length) && (params[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = params[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "{00C0FF}Koristi:{FFFFFF} (/r)adio [radio chat]");
return 1;
}
new brojevi[] = { '1','2','3','4','5','6','7','8','9'};
for(new b = 0; b < sizeof brojevi; b++)
{
new tekst = strlen(result);
for(new i = 0; i<tekst; i++)
{
if(result[i] == brojevi[b])
result[i] = '*' ;
}
}
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)PD.Direktor %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)PD.Kapetan %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)PD.Zapovjednik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)PD.Narednik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)PD.Policajac %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)PD.Ucenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)PD.Ucenik %s:{FFFFFF} %s, prijem. **", sendername, result);
}
SendRadioMessage(1, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)FBI.Direktor %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)FBI.Zamijenik  %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)FBI.Cobra %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)FBI.Tajni Agent %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)FBI.Agent %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)FBI.Ucenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)FBI.Ucenik %s:{FFFFFF} %s, prijem. **", sendername, result);
}
SendRadioMessage(2, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)SWAT.Pukovnik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)SWAT.Zamjenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)SWAT.Zapovjednik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)SWAT.Deserter %s:{FFFFFF} %s, prijem.|**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)SWAT.Agent %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)SWAT.Ucenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)SWAT.Ucenik %s:{FFFFFF} %s, prijem. **", sendername, result);
}
SendRadioMessage(3, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)MD.Upravitelj %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)MD.Specijalista %s:{FFFFFF} %s., prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)MD.Kirurg %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)MD.Doktor %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)MD.Brat %s:{FFFFFF} %s. prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)MD.Student %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)MD.Student %s:{FFFFFF} %s,  prijem, **", sendername, result);
}
SendRadioMessage(4, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "   Nisi dio Tima !");
return 1;
}
}
return 1;
}
â˜... â–,â–ƒâ–...▆▇█ G â–ˆ O â–ˆ F â–ˆ █▇▆â–...â–ƒâ–, â˜...

â–'█▀▀█ █▀▀█ █▀▀ ▀▀█▀▀ █▀▀█ █▀▀█
â–'â–ˆâ–'â–'â–' â–ˆâ–,,â–,,â–ˆ ▀▀█ â–'â–'â–ˆâ–'â–' â–ˆâ–,,â–,,â–€ â–ˆâ–'â–'â–ˆ
â–'â–ˆâ–,,â–,,â–ˆ â–€â–'â–'â–€ ▀▀▀ â–'â–'â–ˆâ–'â–' â–€â–'▀▀ ▀▀▀▀



if(strcmp(cmd, "/radio", true) == 0 || strcmp(cmd, "/r", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "ERROR : Nemozete pricati zato sto ste mutani!");
return 1;
}
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))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koristite: (/r)adio [radio chat]");
return 1;
}
if (PlayerInfo[playerid][pLeader] > 0 || PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pFMember] < 255)
{
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==7)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Mayor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Assistant %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Secretary %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Driver %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Security %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Bodyguard %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Bodyguard %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
    if(member==5)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Godfather %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Underboss %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), "** (( Soldier %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Associate %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Outsider %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Outsider %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==8)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Director %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Vice-Director %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Special Agent %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Agent %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Marksman %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Freelancer %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Freelancer %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==6)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( O.G. %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Real Gangsta %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Gangsta %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Homie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Errand Boy %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Busta %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Busta %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==4)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( O.G. %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Real Gangsta %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Gangsta %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Homie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Errand Boy %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Busta %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Busta %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==9)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Network Producer %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Network Editor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Network Anchor %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Local Editor %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Local Reporter %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Intern %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** Intern %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==10)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Godfather %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Underboss %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), "** (( Soldier %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Associate %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Outsider %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Outsider %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==11)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Boss %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Direktor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Manager %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Spiun %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Bandit %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Pocetnik %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Trainee %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==1)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Chief %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Lieutenant %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Sergeant %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Corporal %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Officer %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Cadet %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Cadet %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==2)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( El Jefe %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Jefe %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Esperado %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Mafioso %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Suerenos %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Sporado %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Sporado %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(member==3)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Street Racer %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Pro Racer %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Racer %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Pro Driver %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Driver %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( New Driver %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( New Driver %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
}
else if(leader==4)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( O.G. %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Real Gangsta %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Gangsta %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Homie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Errand Boy %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Busta %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( O.G. %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_LIGHTBLUE, string);
            }
            if(leader==7)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Mayor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Assistant %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Secretary %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Driver %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Security %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Bodyguard %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Mayor %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==1)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Chief %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Lieutenant %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Sergeant %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Corporal %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Officer %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Cadet %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Chief %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==2)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( El Jefe %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Jefe %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Esperado %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Mafioso %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Suerenos %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Sporado %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( El Jefe %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==3)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Street Racer %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Pro Racer %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Racer %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Pro Driver %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Driver %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( New Driver %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Street Racer %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==5)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Godfather %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Underboss %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), "** (( Soldier %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Associate %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Outsider %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Godfather %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==8)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Director %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Vice-Director %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Special Agent %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Agent %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Marksman %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Freelancer %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Director %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==6)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( O.G. %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Real Gangsta %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Gangsta %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Homie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Errand Boy %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Busta %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( O.G. %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==9)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Network Producer %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Network Editor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Network Anchor %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Local Editor %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Local Reporter %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Intern %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** Network Producer %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==10)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Godfather %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Underboss %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), "** (( Soldier %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Associate %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Outsider %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Godfather %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(leader==11)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Boss %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Direktor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Manager %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Spiun %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Bandit %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Pocetnik %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** (( Boss %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pLeader], COLOR_LIGHTBLUE, string);
}
else if(PlayerInfo[playerid][pFMember] > 255)
    {
        if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Godfather %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Underboss %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), "** Soldier %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Associate %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Outsider %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** Outsider %s: %s. )) **", sendername, result); }
SendNewFamilyMessage(PlayerInfo[playerid][pFMember], TEAM_AZTECAS_COLOR, string);
}
printf("%s", string);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "   you are not part of a Family!");
return 1;
}




TO JE MOJ /R CHAT KOJI JE ZBUGAN AKO MOZE DA MI TO POPRAVITE ??
Poslednja Izmena: Septembar 02, 2011, 00:26:24 PRE PODNE od sedin007