26.12.2015, 23:20
Код:
if(gTeam[killerid] == 2 && WantedLevel[playerid] > 0) { new nams[MAX_PLAYER_NAME]; new pd[MAX_PLAYER_NAME]; GetPlayerName(playerid, nams, sizeof(nams)); GetPlayerName(killerid, pd, sizeof(pd)); if(PlayerInfo[killerid][pMember] == 1) { format(string, sizeof(string), "***[SUSPECT] Officer {FFFFFF}%s{33CCFF} killed suspect {FFFFFF}%s {33CCFF}having Wanted {FFFFFF}%d{33CCFF}.***", pd,nams,WantedLevel[playerid]); SendRadioMessage(1, COLOR_LIGHTBLUE, string); SendRadioMessage(2, COLOR_LIGHTBLUE, string); SendRadioMessage(3, COLOR_LIGHTBLUE, string); SuspectK[killerid]++; } if(PlayerInfo[killerid][pMember] == 2) { format(string, sizeof(string), "***[SUSPECT] Agent {FFFFFF}%s {33CCFF}killed suspect {FFFFFF}%s {33CCFF}having Wanted {FFFFFF}%d{33CCFF}.***", pd,nams,WantedLevel[playerid]); SendRadioMessage(1, COLOR_LIGHTBLUE, string); SendRadioMessage(2, COLOR_LIGHTBLUE, string); SendRadioMessage(3, COLOR_LIGHTBLUE, string); SuspectK[killerid]++; } if(PlayerInfo[killerid][pMember] == 3) { format(string, sizeof(string), "***[SUSPECT] Soldier {FFFFFF}%s {33CCFF}killed suspect {FFFFFF}%s {33CCFF}having Wanted {FFFFFF}%d{33CCFF}.***", pd,nams,WantedLevel[playerid]); SendRadioMessage(1, COLOR_LIGHTBLUE, string); SendRadioMessage(2, COLOR_LIGHTBLUE, string); SendRadioMessage(3, COLOR_LIGHTBLUE, string); SuspectK[killerid]++; } if(PlayerInfo[killerid][pLeader] == 1) { format(string, sizeof(string), "***[SUSPECT] PD Leader {FFFFFF}%s {33CCFF}killed suspect {FFFFFF}%s {33CCFF}having Wanted {FFFFFF}%d{33CCFF}.***", pd,nams,WantedLevel[playerid]); SendRadioMessage(1, COLOR_LIGHTBLUE, string); SendRadioMessage(2, COLOR_LIGHTBLUE, string); SendRadioMessage(3, COLOR_LIGHTBLUE, string); SuspectK[killerid]++; } if(PlayerInfo[killerid][pLeader] == 2) { format(string, sizeof(string), "***[SUSPECT] FBI Leader {FFFFFF}%s {33CCFF}killed suspect {FFFFFF}%s {33CCFF}having Wanted {FFFFFF}%d{33CCFF}.***", pd,nams,WantedLevel[playerid]); SendRadioMessage(1, COLOR_LIGHTBLUE, string); SendRadioMessage(2, COLOR_LIGHTBLUE, string); SendRadioMessage(3, COLOR_LIGHTBLUE, string); SuspectK[killerid]++; } if(PlayerInfo[killerid][pLeader] == 3) { format(string, sizeof(string), "***[SUSPECT] NG Leader {FFFFFF}%s {33CCFF}killed suspect {FFFFFF}%s {33CCFF}having Wanted {FFFFFF}%d{33CCFF}.***", pd,nams,WantedLevel[playerid]); SendRadioMessage(1, COLOR_LIGHTBLUE, string); SendRadioMessage(2, COLOR_LIGHTBLUE, string); SendRadioMessage(3, COLOR_LIGHTBLUE, string); SuspectK[killerid]++; } return 1; }