[Pomoc]/family

Započeo 96esl., Mart 09, 2011, 13:33:50 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Cyber
Detaljan opis problema:/f Chat mi nikako ne radi moze tko pomoc kako da napravim
Dio skripte:
CMD:f(playerid, params[])
{
new result,string[128];
new leader = PlayerInfo[playerid][Lider];
new member = PlayerInfo[playerid][Clan];
if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, NARANDZASTA, "Ne mozes pricati! Usutkan si.");
if(sscanf(params,"s[128]",result)) return SendClientMessage(playerid, NARANDZASTA, "Koristi: /f (text)!");
if (gTeam[playerid] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Ti nisi clan Organizacije!");
if(member==1)//POLICIJA
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Zapovednik %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Kapetan %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Porucnik %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Narednik %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Cinovnik %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Kadet %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Kadet %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==2)//F.B.I
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Director %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Deputy Director %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Special Agent-in-Charge %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Senior Special Agent %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Special Agent %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Probationary Agent %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Probationary Agent %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==3)//BALLAS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Double O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Original Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Original Young Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Young Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Little Young Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Little Young Gangster %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==4)//HITNA POMOC
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Upravitelj %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Zamenik Upravitelja %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Specijalni Kirurg %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Kirurg %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Doktor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Student %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Student %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==5)//CORLEONE's
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Considerer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Capo %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Soldiers %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Associates %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Associates %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==6)//BLACK DRAGON TRIADS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Godfather %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Right Hand %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Miembro %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Capo %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Outsider %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==7)//PREDSEDNIK
{
if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "*Prigovornik %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Politicar %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Prigovornik %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Prigovornik %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==8)//GROVE STREET
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Warlord %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Thug %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Hustler %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Grove Begginer %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Grove Begginer %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==9)//NOVINAR
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Network Producer %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Network Editor %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Network Anchor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Local Editor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Local Reporter %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Intern %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "** Intern %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==10)//TAXI
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Taxi Company Owner %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Shift Supervisor %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Dispatcher %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Cabbie %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Taxi Rookie %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Trainee %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "** Trainee %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==11)//HITMAN
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "UnderBoss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Mafer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Extra Killer 3 %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Killer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Outsider %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==12)//CRIPS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Double O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Original Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Baby Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Tiny Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Begginer Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Begginer Gangster %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==13)//STREET RACERS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Master Racer %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Pr0 Racer %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Fast Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Street Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Little Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Little Racer %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==14)//VINCIE
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Don %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Padrino %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "LaManoDestra %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Capitano %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Soldato %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Ragazzi %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Ragazzi %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==15)//L.C.N
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Advisor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Warrior %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Associate %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Outsider %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(leader >= 1 && leader <= 15)
{
format(string, sizeof(string), "Lider %s: %s. )) **", ImeIgraca(playerid), result);
SendFamilyMessage(PlayerInfo[playerid][Lider], SVETLOZELENA, string);
}
else if(PlayerInfo[playerid][pFMember] < 255)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Godfather %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Capo %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Soldier %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Associate %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "** Outsider %s: %s. )) **", ImeIgraca(playerid),result); }
SendNewFamilyMessage(PlayerInfo[playerid][pFMember], LJUBICASTA, string);
}
printf("%s", string);
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://

Da nejde mozda "new result[128];"   

I dali su ti ostale strcmp komande u novom callbacku?

Neznam al ostali mi komande rade sve osim ove kad ukucam /f i napisem neki text nevidi se

                                                                  Eo ti pa probaj mislim da ce da radi

                                                           CMD:f(playerid, params[])
{
new result,string[128];
new leader = PlayerInfo[playerid][Lider];
new member = PlayerInfo[playerid][Clan];
if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, NARANDZASTA, "Ne mozes pricati! Usutkan si.");
if(sscanf(params,"s[128]",result)) return SendClientMessage(playerid, NARANDZASTA, "Koristi: /f (text)!");
if (gTeam[playerid] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "Nisi clan Mafije/Bande!");
/*if(member==1)//POLICIJA
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Zapovednik %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Kapetan %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Porucnik %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Narednik %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Cinovnik %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Kadet %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Kadet %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==2)//F.B.I
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Director %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Deputy Director %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Special Agent-in-Charge %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Senior Special Agent %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Special Agent %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Probationary Agent %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Probationary Agent %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}*/
else if(member==3)//BALLAS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Double O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Original Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Original Young Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Young Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Little Young Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Little Young Gangster %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==4)//HITNA POMOC
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Upravitelj %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Zamenik Upravitelja %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Specijalni Kirurg %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Kirurg %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Doktor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Student %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Student %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==5)//CORLEONE's
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Considerer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Capo %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Soldiers %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Associates %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Associates %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==6)//BLACK DRAGON TRIADS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Godfather %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Right Hand %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Miembro %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Capo %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Outsider %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==7)//PREDSEDNIK
{
if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "*Prigovornik %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Politicar %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Prigovornik %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Prigovornik %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==8)//GROVE STREET
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Warlord %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Thug %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Hustler %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Grove Begginer %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Grove Begginer %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==9)//NOVINAR
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Network Producer %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Network Editor %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Network Anchor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Local Editor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Local Reporter %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Intern %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "** Intern %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==10)//TAXI
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Taxi Company Owner %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Shift Supervisor %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Dispatcher %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Cabbie %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Taxi Rookie %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Trainee %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "** Trainee %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==11)//HITMAN
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "UnderBoss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Mafer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Extra Killer 3 %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Killer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Outsider %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==12)//CRIPS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Top O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Double O.G %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Original Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Baby Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Tiny Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Begginer Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Begginer Gangster %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==13)//STREET RACERS
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Master Racer %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Pr0 Racer %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Fast Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Street Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Little Racer %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Little Racer %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==14)//VINCIE
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Don %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Padrino %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "LaManoDestra %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Capitano %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Soldato %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Ragazzi %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Ragazzi %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(member==15)//L.C.N
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Advisor %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Warrior %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Associate %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "Outsider %s: %s. )) **", ImeIgraca(playerid), result); }
SendFamilyMessage(PlayerInfo[playerid][Clan], SVETLOZELENA, string);
}
else if(leader >= 1 && leader <= 15)
{
format(string, sizeof(string), "Lider %s: %s. )) **", ImeIgraca(playerid), result);
SendFamilyMessage(PlayerInfo[playerid][Lider], SVETLOZELENA, string);
}
else if(PlayerInfo[playerid][pFMember] < 255)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Godfather %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Underboss %s: %s. )) **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Capo %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Soldier %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Associate %s: %s. ))  **", ImeIgraca(playerid), result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Outsider %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "** Outsider %s: %s. )) **", ImeIgraca(playerid), result); }
SendNewFamilyMessage(PlayerInfo[playerid][pFMember], LJUBICASTA, string);
}
printf("%s", string);
return 1;
}
Poslednja Izmena: Mart 09, 2011, 14:52:46 POSLE PODNE od gonss.pwn ^^

------------------------------------------------------------------------------
Zahvaljujem Se Snich_Wolf-u Zato sto Mi je mnogo Pomogo oko Skriptanja...Snich Hvala brt <3 xD



Neznam Onda..Ja cu da probam da uzmem iz drugog gm-a

------------------------------------------------------------------------------
Zahvaljujem Se Snich_Wolf-u Zato sto Mi je mnogo Pomogo oko Skriptanja...Snich Hvala brt <3 xD

Decki, ako niste skuzili nece vam niti /news, /o, /f, razlog ?

jer vam ne radi TuT...

kada igrac prodje cijeli Tut onda mozes vidjeti /f /o /news....


Citat: Cody poslato Mart 09, 2011, 16:37:32 POSLE PODNE
Decki, ako niste skuzili nece vam niti /news, /o, /f, razlog ?

jer vam ne radi TuT...

kada igrac prodje cijeli Tut onda mozes vidjeti /f /o /news....
Kako popravit to ima bug kod tuta kad se registrujes i izbaci ti da stavis koliko imas godina i odakle si i to ti se stalno ponavnja to sa godinama i drzavom to je bug