26.11.2012, 15:00
(
Последний раз редактировалось CePaX; 26.11.2012 в 18:02.
)
So I had that problem once I got it, and now someone helped me to do, I have no idea what, I walked all the script.
So when someone is a member 5,6,15,16,17,18 war between them is put in place to put x2 x1 kill kill. or (-x1,-x2 for the same alliance)
It's just the / score, and scoring at all.
We and / myscore (kill mine sites, here I add x1, right)
here you / score
/myscore
Onplayerdeath
si
So when someone is a member 5,6,15,16,17,18 war between them is put in place to put x2 x1 kill kill. or (-x1,-x2 for the same alliance)
It's just the / score, and scoring at all.
We and / myscore (kill mine sites, here I add x1, right)
here you / score
Код:
if(strcmp(cmd, "/score", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsWar) { new str[128]; format(str, 128,"{00FA9A}[WAR] {FFFFFF}TheTriads-LSV-Grove: {00FA9A}%d {FFFFFF}kills || The Mafia-VLA-Ballas: {00FA9A}%d {FFFFFF}kills,",Killing[18] + Killing[6] + Killing[15], Killing[5] + Killing[17] + Killing[16]); SendClientMessage(playerid, COLOR_WHITE, str); if(Killing[18] + Killing[6] + Killing[15] > Killing[5] + Killing[17] + Killing[16]) { SendClientMessage(playerid, COLOR_WHITE, "{00FA9A}[WAR] {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {FFFFFF}Conduc!"); } else { SendClientMessage(playerid, COLOR_WHITE, "{00FA9A}[WAR] {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {FFFFFF} Conduc!"); } } else { SendClientMessage(playerid, COLOR_WHITE, "Nu este War in acest moment"); } } return 1; }
Код:
if(strcmp(cmd, "/myscore", true) == 0) { if(IsWar) { new str[128]; format(str, 128,"{00FA9A}[WAR] {FFFFFF}Your Kills: {00FA9A}%d", PlayerInfo[playerid][pWarKills]); SendClientMessage(playerid, COLOR_WHITE, str); } return 1; }
Код:
if(IsWar && killerid != INVALID_PLAYER_ID) { if(AllianceMember1(killerid) && AllianceMember2(playerid)) { if(IsMember(killerid)) { Killing[PlayerInfo[killerid][pMember]]++; Deads[PlayerInfo[playerid][pMember]]++; } if(IsLeader(killerid)) { Killing[PlayerInfo[killerid][pLeader]]++; Deads[PlayerInfo[playerid][pMember]]++; } } if(AllianceMember2(killerid) && AllianceMember1(playerid)) { if(IsMember(killerid)) { Killing[PlayerInfo[killerid][pMember]]++; Deads[PlayerInfo[playerid][pMember]]++; } if(IsLeader(killerid)) { Killing[PlayerInfo[killerid][pLeader]]++; Deads[PlayerInfo[playerid][pMember]]++; } }
Код:
if(PlayerInfo[killerid][pMember] == 6 || PlayerInfo[killerid][pLeader] == 6) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Triads {FFFFFF}%s {63B8FF}has killed The Mafia {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendTRIADSMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Mafia {FFFFFF}%s {0000CD}was pwned by The Triads {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendMAFIAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 15 || PlayerInfo[killerid][pLeader] == 15) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* LSV {FFFFFF}%s {63B8FF}has killed VLA {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendLSVMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* VLA {FFFFFF}%s {0000CD}was pwned by LSV {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendVLAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 16 || PlayerInfo[killerid][pLeader] == 16) { if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"* {63B8FF}VLA {FFFFFF}%s {63B8FF}has killed LSV {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendVLAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* LSV {FFFFFF}%s {0000CD}was pwned by VLA {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendLSVMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 17 || PlayerInfo[killerid][pLeader] == 17) { if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Ballas {FFFFFF}%s {63B8FF}has killed Grove {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendBALLASMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Grove {FFFFFF}%s {0000CD}was pwned by Ballas {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendGROVEMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 18 || PlayerInfo[killerid][pLeader] == 18) { if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Grove {FFFFFF}%s {63B8FF}has killed Ballas {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendGROVEMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Ballas {FFFFFF}%s {0000CD}was pwned by Grove {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendBALLASMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 5 || PlayerInfo[killerid][pLeader] == 5) { if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Mafia {FFFFFF}%s {63B8FF}has killed LSV {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendMAFIAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* LSV {FFFFFF}%s {0000CD}was pwned by The Mafia {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendLSVMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 15 || PlayerInfo[killerid][pLeader] == 15) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* LSV {FFFFFF}%s {63B8FF}has killed The Mafia {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendLSVMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Mafia {FFFFFF}%s {0000CD}was pwned by LSV {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendMAFIAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 5 || PlayerInfo[killerid][pLeader] == 5) { if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Mafia {FFFFFF}%s {63B8FF}has killed Grove {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendMAFIAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Grove {FFFFFF}%s {0000CD}was pwned by The Mafia {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendGROVEMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 18 || PlayerInfo[killerid][pLeader] == 18) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Grove {FFFFFF}%s {63B8FF}has killed The Mafia {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendGROVEMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Mafia {FFFFFF}%s {0000CD}was pwned by Grove {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendMAFIAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 6 || PlayerInfo[killerid][pLeader] == 6) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Triads {FFFFFF}%s {63B8FF}has killed VLA {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendTRIADSMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* VLA {FFFFFF}%s {0000CD}was pwned by The Triads {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendVLAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 16 || PlayerInfo[killerid][pLeader] == 16) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* VLA {FFFFFF}%s {63B8FF}has killed The Triads {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendVLAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Triads {FFFFFF}%s {0000CD}was pwned by VLA {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendTRIADSMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 6 || PlayerInfo[killerid][pLeader] == 6) { if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Triads {FFFFFF}%s {63B8FF}has killed Ballas {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendTRIADSMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Ballas {FFFFFF}%s {0000CD}was pwned by The Triads {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendBALLASMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 17 || PlayerInfo[killerid][pLeader] == 17) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Ballas {FFFFFF}%s {63B8FF}has killed The Triads {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendBALLASMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Triads {FFFFFF}%s {0000CD}was pwned by Ballas {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendTRIADSMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 15 || PlayerInfo[killerid][pLeader] == 15) { if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* LSV {FFFFFF}%s {63B8FF}has killed Ballas {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendLSVMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Balas {FFFFFF}%s {0000CD}was pwned by LSV {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendBALLASMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 17 || PlayerInfo[killerid][pLeader] == 17) { if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Ballas {FFFFFF}%s {63B8FF}has killed LSV {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendBALLASMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* LSV {FFFFFF}%s {0000CD}was pwned by Ballas {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendLSVMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 16 || PlayerInfo[killerid][pLeader] == 16) { if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* VLA {FFFFFF}%s {63B8FF}has killed Grove {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendVLAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Grove {FFFFFF}%s {0000CD}was pwned by VLA {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendGROVEMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]++; else Killing[PlayerInfo[killerid][pMember]]++; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 18 || PlayerInfo[killerid][pLeader] == 18) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Grove {FFFFFF}%s {63B8FF}has killed VLA {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendGROVEMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* VLA {FFFFFF}%s {0000CD}was pwned by Grove {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendVLAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]++; Killing[gTeam[killerid]]++; Killing[PlayerInfo[killerid][pLeader]]++; Killing[PlayerInfo[killerid][pMember]]++; Deads[gTeam[playerid]]++; Deads[PlayerInfo[playerid][pLeader]]++; Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 18 || PlayerInfo[killerid][pLeader] == 18) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Grove {FFFFFF}%s {63B8FF}has killed The Triads {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendGROVEMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Triads {FFFFFF}%s {0000CD}was pwned by Grove {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendTRIADSMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 6 || PlayerInfo[killerid][pLeader] == 6) { if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Triads {FFFFFF}%s {63B8FF}has killed Grove {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendTRIADSMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Grove {FFFFFF}%s {0000CD}was pwned by The Triads {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendGROVEMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 15 || PlayerInfo[killerid][pLeader] == 15) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* LSV {FFFFFF}%s {63B8FF}has killed The Triads {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendLSVMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Triads {FFFFFF}%s {0000CD}was pwned by LSV {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendTRIADSMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 6 || PlayerInfo[killerid][pLeader] == 6) { if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Triads {FFFFFF}%s {63B8FF}has killed LSV {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendTRIADSMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* LSV {FFFFFF}%s {0000CD}was pwned by The Triads {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendLSVMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 17 || PlayerInfo[killerid][pLeader] == 17) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Ballas {FFFFFF}%s {63B8FF}has killed VLA {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendBALLASMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* VLA {FFFFFF}%s {0000CD}was pwned by Ballas {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendVLAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 16 || PlayerInfo[killerid][pLeader] == 16) { if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* VLA {FFFFFF}%s {63B8FF}has killed Ballas {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendVLAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Ballas {FFFFFF}%s {0000CD}was pwned by VLA {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendBALLASMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 17 || PlayerInfo[killerid][pLeader] == 17) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Ballas {FFFFFF}%s {63B8FF}has killed The Mafia {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendBALLASMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Mafia {FFFFFF}%s {0000CD}was pwned by Ballas {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendMAFIAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 5 || PlayerInfo[killerid][pLeader] == 5) { if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Mafia {FFFFFF}%s {63B8FF}has killed Ballas {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendMAFIAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Ballas {FFFFFF}%s {0000CD}was pwned by The Mafia {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendBALLASMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 16 || PlayerInfo[killerid][pLeader] == 16) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* VLA {FFFFFF}%s {63B8FF}has killed The Mafia {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendVLAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* The Mafia {FFFFFF}%s {0000CD}was pwned by VLA {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendMAFIAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 5 || PlayerInfo[killerid][pLeader] == 5) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* The Mafia {FFFFFF}%s {63B8FF}has killed VLA {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendMAFIAMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* VLA {FFFFFF}%s {0000CD}was pwned by The Mafia {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendVLAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 18 || PlayerInfo[killerid][pLeader] == 18) { if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* Grove {FFFFFF}%s {63B8FF}has killed LSV {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendGROVEMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* LSV {FFFFFF}%s {0000CD}was pwned by Grove {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendVLAMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } } if(PlayerInfo[killerid][pMember] == 15 || PlayerInfo[killerid][pLeader] == 15) { if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"{63B8FF}* LSV {FFFFFF}%s {63B8FF}has killed Grove {FFFFFF}%s {63B8FF}and recivied 500$.",killer,name); SendLSVMessage(COLOR_1GREEN, string); format(string,128,"{0000CD}* Grove {FFFFFF}%s {0000CD}was pwned by LSV {FFFFFF}%s {0000CD}and lose 500$.",name,killer); SendGROVEMessage(COLOR_BLUE, string); GivePlayerMoney(killerid, 500); GivePlayerMoney(playerid, - 500); if(IsWar && killerid != INVALID_PLAYER_ID) { PlayerInfo[killerid][pWarKills]--; if(IsLeader(killerid)) Killing[PlayerInfo[killerid][pLeader]]--; else Killing[PlayerInfo[killerid][pMember]]--; if(IsLeader(playerid)) Deads[PlayerInfo[playerid][pLeader]]++; else Deads[PlayerInfo[playerid][pMember]]++; } return 1; } }