24.01.2011, 18:00
i tried to make killing bonuses filterscript but i need somehow get that killerid isn't connected...
BUT... this didn't worked into server.... any other way to get that killer isn't connected?
pawn Код:
if(killerid == INVALID_PLAYER_ID)
{
new name[MAX_PLAYER_NAME], string[200];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has ended his own killstreak of %i!",name,KillingSpree[playerid]);
SendClientMessageToAll(COLOR_RED, string);
KillingSpree[playerid] = 0;
}