[pomoc] radio

Započeo sanjin, April 19, 2011, 18:39:34 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: ravens
Detaljan opis problema: radio....u mafiju NPR hitmen ja pisem pod /r i to svi cuju...sve mafije i fbi,PD....zelim napravit na sa /r samo se cuje u hitmenu,i tako u fbi samo da kad se pise pod /r samo njihovi agenti to cuju...sta da napravim
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
//----------------------------------[Team]-----------------------------------------------
	if(strcmp(cmd, "/radio", true) == 0 || strcmp(cmd, "/r", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	        if(PlayerInfo[playerid][pMuted] == 1)
			{
				SendClientMessage(playerid, TEAM_CYAN_COLOR, "Nemožeš pričati, mutan si");
				return 1;
			}

			new length = strlen(cmdtext);
			while ((idx < length) && (cmdtext[idx] <= ' '))
			{
				idx++;
			}
			new offset = idx;
			new result[128];
			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, "Korištenje: (/r)adio [radio chat]");
				return 1;
			}
			if (PlayerInfo[playerid][pAchievement2] == 0)
			{
			    TextDrawSetString(Textdraw64[playerid],"Cestitamo! ~n~~n~Osvojio si Medalju ~n~~b~For the Team (2) ~n~~n~~w~Nagrada: ~g~$200");
	    		ShowAchievement(playerid);
				SafeGivePlayerMoney(playerid,200);
				PlayerInfo[playerid][pAchievement2] = 1;
			}
 	 		if(OnSwatDuty[playerid] == 1)
			{
				if(PlayerInfo[playerid][pSwat] == 4) { format(string, sizeof(string), "Commander %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pSwat] == 3) { format(string, sizeof(string), "Sub-Commander %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pSwat] == 2) { format(string, sizeof(string), "Instructor %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pSwat] == 1) { format(string, sizeof(string), "Operative %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "%s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(1, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
		    }
	     	else if(OnTacticalDuty[playerid] == 1)
			{
				if(PlayerInfo[playerid][pTactical] == 4) { format(string, sizeof(string), "Master Agent %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pTactical] == 3) { format(string, sizeof(string), "Elite Agent %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pTactical] == 2) { format(string, sizeof(string), "Expert Agent %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pTactical] == 1) { format(string, sizeof(string), "Trainee Unit %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown]  %s(radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(2, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
		    }
		    else if(OnSpecialFDuty[playerid] == 1)
			{
		 		if(PlayerInfo[playerid][pSpecialF] == 4) { format(string, sizeof(string), "Squad Leader %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pSpecialF] == 3) { format(string, sizeof(string), "Squad Sub-Leader %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pSpecialF] == 2) { format(string, sizeof(string), "Masterchief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pSpecialF] == 1) { format(string, sizeof(string), "Soldier %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(3, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
		    }
		    if(IsAFreecop(playerid) && PlayerInfo[playerid][pDuty] == 1)
		    {
				format(string, sizeof(string), "Voluntary %s (radio): %s, over.", sendername, result);
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(1, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
		    if(PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pDBanned] == 0 || PlayerInfo[playerid][pLeader] == 1 && PlayerInfo[playerid][pDBanned] == 0)
			{
			    if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "Deputy Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Captain %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Lieutenant %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Sergeant %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Corporal %s (radio): %s, over.*", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Officer %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Cadet %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(1, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
		    }
			else if(PlayerInfo[playerid][pMember] == 2 && PlayerInfo[playerid][pDBanned] == 0 || PlayerInfo[playerid][pLeader] == 2 && PlayerInfo[playerid][pDBanned] == 0)
			{
			    if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "Director %s (radio): %s, over.", sendername, result); }
			    else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "Deputy Director %s (radio): %s, over.", sendername, result); }
			    else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Assi. Director %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Division Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Special Agent in Charge %s(radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Special Agent %s(radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Agent %s(radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Cadet %s(radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(2, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 3 && PlayerInfo[playerid][pDBanned] == 0 || PlayerInfo[playerid][pLeader] == 3 && PlayerInfo[playerid][pDBanned] == 0)
			{
			   	if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "General %s (radio): %s, over.", sendername, result); }
			   	else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "Sub General %s (radio): %s, over.", sendername, result); }
			   	else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Captain %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Lieutenant %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Major %s(radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Sergeant %s(radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Soldier %s(radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Private %s(radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(3, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4)
			{
			    if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "EMS Commissioner %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "EMS Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "EMS Lieutenant %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "EMS Captain %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "ALS Medic %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "BLS Medic %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "EMS Trainee %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "EMS Explorer %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
                ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(4, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (departments): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
			{
			    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Corona %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Mano Derecha %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Proscrito %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Miembro %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Asociado %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Forastero %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(5, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(d, m, y);
				gettime(d,mi,y);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
			{
			    if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "Capo Crimini %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "Capo Bastone %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Consigleri %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Capo Regime %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Sgarrista %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Piciotto %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Giovoane %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Outsider %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(6, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
			{
			    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Mayor %s (radio): %s, over.", sendername, result); }
			    else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Assistant Mayor %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Security Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Drivers Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Bodyguard %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Driver %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(7, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
			{
			    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Director %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Vice Director %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Special Agent %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Agent %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Marksman %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Freelancer %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(8, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
   	        }
			else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
			{
			    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Network Producer %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "ABC Manager %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Company Secreatary %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Head Journalist %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Journalist %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Intern Worker %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(9, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
			{
			    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Owner %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Supervisor %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Dispatcher %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Cabbie %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Taxi Rookie %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Trainee %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(10, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
			{
			    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Boss %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Manager %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Senior Instructor %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Instructor %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Trainee %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(11, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember]==12||PlayerInfo[playerid][pLeader]==12)
			{
				if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "FD Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "Assistant Chief %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "FD Captain %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "FD Lieutenant %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Engine %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Firefighter %s (radio): %s, over.", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Probationary %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Explorer %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
                ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(12, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember]==13||PlayerInfo[playerid][pLeader]==13)
			{
		 		if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Father of Anarchy %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Son of Anarchy %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Rider of Anarchy %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Rider of Chaos %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Rider of Fights %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Rookie Rider %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
                ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(13, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
			{
			    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Don %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Don's right hand %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Capo %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Shatei %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Wakashu %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Gaij in %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(14, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
			{
			    if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "Don %s (radio): %s, over.", sendername, result); }
			    else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Pakhan %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Underboss %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Capo %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Byki %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Patsani %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Shestiorka %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(15, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
			else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
			{
			    if(PlayerInfo[playerid][pRank] == 9) { format(string, sizeof(string), "Boss %s (radio): %s, over.", sendername, result); }
			    else if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "Lower Boss %s (radio): %s, over.", sendername, result); }
			    else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "Elite Advisor %s (radio): %s, over.", sendername, result); }
			    else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "Loyal Advisor %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "Advisor %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "Made Man %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "Elite Member %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "Loyal Member %s (radio): %s, over.", sendername, result); }
				else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "Member %s (radio): %s, over.", sendername, result); }
				else
				{
					format(string, sizeof(string), "[Unknown] %s (radio): %s, over.", sendername, result);
				}
				ProxDetector(7.5, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				SentMessage[playerid] = 1;
				SendRadioMessage(16, TEAM_RADIO_COLOR, string);
				SentMessage[playerid] = 0;
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string, sizeof(string), "[%d/%d/%d](%d:%d:%d) %s (radio): (%s)",d,m,y,h,mi,s, sendername, result);
				RadioChatLog(string);
				return 1;
			}
		}
		return 1;
	}
Black Fire RP---188.40.66.75:7785

www.black-fire-samp.tk

djele se game masteri nakon 1 petog....i lideri se djele od danas kojeg god ocete :DD

Dojdite na nas server i zabavite se

Ha nema tu puno politike mozes da sve prepises od policije a samo dodas da je za hitmene...




Balkan Ulice RPG opis servera: Click



-Tutorial za mijesanje ID-ova na vozilima: Click


Citat: SEJFO poslato April 19, 2011, 18:48:26 POSLE PODNE
Ha nema tu puno politike mozes da sve prepises od policije a samo dodas da je za hitmene...


nije vazno...zapravo more LOCK
Black Fire RP---188.40.66.75:7785

www.black-fire-samp.tk

djele se game masteri nakon 1 petog....i lideri se djele od danas kojeg god ocete :DD

Dojdite na nas server i zabavite se