[POMOC] /f chat

Započeo []Flynâ„¢, Januar 17, 2011, 11:34:43 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Imam problem sa /f chatom! Lideri mogu uvek pisati ali clanoviima kaze da nisu u Organizaciji :S Evo komanda,pa vidite sta nije u redu.

if(strcmp(cmd, "/family", true) == 0 || strcmp(cmd, "/f", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Ne mozes pricati! Usutkan si.");
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, "Komanda: /f [Text]");
return 1;
}
new leader = PlayerInfo[playerid][Lider];
        new member = PlayerInfo[playerid][Clan];
if (gTeam[playerid] >= 5 || PlayerInfo[playerid][pFMember] < 255)
{
    if(member==1)//POLICIJA
    {
             if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Zapovednik %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Kapetan %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Porucnik %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Narednik %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Cinovnik %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Kadet %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "Kadet %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
    else if(member==2)//F.B.I
    {
             if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Director %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Deputy Director %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Special Agent-in-Charge %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Senior Special Agent %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Special Agent %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Probationary Agent %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "Probationary Agent %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==3)//BALLAS
{
         if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Double O.G %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Original Gangster %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Original Young Gangster %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Young Gangster %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Little Young Gangster %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "Little Young Gangster %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==4)//HITNA POMOC
{
         if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Upravitelj %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Zamenik Upravitelja %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Specijalni Kirurg %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Kirurg %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Doktor %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Student %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "Student %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==5)//CORLEONE's
{
         if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %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), "Considerer %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Capo %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Soldiers %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Associates %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "Associates %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==6)//BLACK DRAGON TRIADS
{
         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), "Right Hand %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Miembro %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Capo %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][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==7)//PREDSEDNIK
{
        if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "*Prigovornik %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Politicar %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Prigovornik %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "Prigovornik %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==8)//GROVE STREET
{
         if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "O.G %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Warlord %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Thug %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Hustler %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Grove Begginer %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "Grove Begginer %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==9)//NOVINAR
{
         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][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==10)//TAXI
{
         if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Taxi Company Owner %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Shift Supervisor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Dispatcher %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Cabbie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Taxi Rookie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Trainee %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** Trainee %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
}
else if(member==11)//HITMAN
            {
                 if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %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), "Mafer %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Extra Killer 3 %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Killer %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][Clan], TEAM_AZTECAS_COLOR, string);
            }
            else if(member==12)//CRIPS
            {
                 if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Double O.G %s: %s. )) **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Original Gangster %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Baby Gangster %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Tiny Gangster %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Begginer Gangster %s: %s. ))  **", sendername, result); }
            else { format(string, sizeof(string), "Begginer Gangster %s: %s. )) **", sendername, result); }
                SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
            }
            else if(member==13)//STREET RACERS
            {
                 if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Master Racer %s: %s. )) **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Pr0 Racer %s: %s. )) **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Fast Racer %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Street Racer %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Racer %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Little Racer %s: %s. ))  **", sendername, result); }
            else { format(string, sizeof(string), "Little Racer %s: %s. )) **", sendername, result); }
                SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
            }
            else if(member==14)//VINCIE
            {
                 if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Don %s: %s. )) **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Padrino %s: %s. )) **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "LaManoDestra %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Capitano %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Soldato %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Ragazzi %s: %s. ))  **", sendername, result); }
            else { format(string, sizeof(string), "Ragazzi %s: %s. )) **", sendername, result); }
                SendFamilyMessage(PlayerInfo[playerid][Clan], TEAM_AZTECAS_COLOR, string);
            }
            else if(member==15)//L.C.N
            {
                 if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %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), "Advisor %s: %s. ))  **", sendername, result); }
            else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Warrior %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][Clan], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==1)
{
    format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
}
else if(leader==2)
{
    format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
}
else if(leader==3)
{
    format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
}
else if(leader==4)
{
    format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
}
else if(leader==5)
{
    format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
}
else if(leader==6)
{
    format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
}
    else if(leader==7)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==8)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==9)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==10)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==11)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==12)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==13)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==14)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, string);
            }
            else if(leader==15)
            {
           format(string, sizeof(string), "Lider %s: %s. )) **", sendername, result);
           SendFamilyMessage(PlayerInfo[playerid][Lider], TEAM_AZTECAS_COLOR, 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, "Ti nisi clan Organizacije!");
return 1;
}
}//not connected
return 1;
}

Mikic95

Jel može netko pomoć ? Hitno je !!!

DoN

*

Zamijeni sa ovim pa pokusaj

if(strcmp(cmd, "/family", true) == 0 || strcmp(cmd, "/f", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
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, "USAGE: (/f)amily [family chat]");
return 1;
}
if (gTeam[playerid] >= 5 || PlayerInfo[playerid][pFMember] < 255)
{
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==5||member==6)
    {
        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], TEAM_AZTECAS_COLOR, 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], TEAM_AZTECAS_COLOR, 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], TEAM_AZTECAS_COLOR, string);
}
else if(member==10)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Taxi Company Owner %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Shift Supervisor %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Dispatcher %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Cabbie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Taxi Rookie %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Trainee %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** Trainee %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_AZTECAS_COLOR, 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), "** Under Boss %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), "** Senior Instructor %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Instructor %s: %s. ))  **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Trainee %s: %s. ))  **", sendername, result); }
else { format(string, sizeof(string), "** Trainee %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_AZTECAS_COLOR, string);
}
else if(leader==5||leader==6)
{
    format(string, sizeof(string), "** Godfather %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_AZTECAS_COLOR, string);
}
else if(leader==8)
{
    format(string, sizeof(string), "** Director %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_AZTECAS_COLOR, string);
}
else if(leader==9)
{
    format(string, sizeof(string), "** Network Producer %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_AZTECAS_COLOR, string);
}
else if(leader==10)
{
    format(string, sizeof(string), "** Taxi Company Owner %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_AZTECAS_COLOR, string);
}
else if(leader==11)
{
    format(string, sizeof(string), "** Boss %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_AZTECAS_COLOR, 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;
}
}//not connected
return 1;
}
Najbolji i najpovoljniji Game i Web hosting na balkanu
Ako želiš Game ili Web host od Game Hr-a obrati mi se na PM
Trenutno radim na projektu RG:RP..
Neodgovaram na bezveze PM-ove..
Royall Gaming RolePlay

Najbolji citati
Citat: Nikola_Hawks poslato Mart 23, 2011, 19:25:24 POSLE PODNE
Skripta koju koristim:GTA RP Od 0

@CorLeon -.-' Sta se brukas? Copy/Paste iz Gf moda... edit:Al opet ajde hvala ti! Bar pokusas da pomognes za razliku od nekih ovde.

edit: Moze ovde lock.
Poslednja Izmena: Januar 19, 2011, 15:58:34 POSLE PODNE od joXy

DoN

*

Jest..Mrasko mi pisati sad... :S
Najbolji i najpovoljniji Game i Web hosting na balkanu
Ako želiš Game ili Web host od Game Hr-a obrati mi se na PM
Trenutno radim na projektu RG:RP..
Neodgovaram na bezveze PM-ove..
Royall Gaming RolePlay

Najbolji citati
Citat: Nikola_Hawks poslato Mart 23, 2011, 19:25:24 POSLE PODNE
Skripta koju koristim:GTA RP Od 0