20.08.2018, 10:21
pawn Code:
new PlayersKilled[MAX_PLAYERS];
pawn Code:
new weaponid = GetPlayerWeapon(killerid);
if (weaponid == 24) PlayersKilled[killerid] ++;
CheckDeagleKills(killerid);
pawn Code:
stock CheckDeagleKills(playerid)
{
if (PlayersKilled[playerid] == 5) SendClientMessage(playerid, -1, "* Killed 5 players with deagle.");
return 1;
}