[Pomoc]/f chat

Započeo Ivan DeVito, Decembar 27, 2011, 08:06:48 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Svoju
Detaljan opis problema:sta je krivo napravito
Dio skripte:Dole je
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
CMD:f(playerid, params[])
{
new result,string[128];
new leader = PlayerInfo[playerid][Lider];
new member = PlayerInfo[playerid][Clan];
if(PlayerInfo[playerid][pMuted] == 55) 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] < 55) 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), "server uklonjen! Young Gangster %s: %s. ))  **", ImeIgraca(playerid), result); }
else { format(string, sizeof(string), "server uklonjen! 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][
Poslednja Izmena: Decembar 27, 2011, 10:39:10 PRE PODNE od Don Ivan