Quote:
Originally Posted by Dreftas
pawn Код:
if(!IsPlayerConnected(killerid)) { 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; }
?
|
Maybe you want to check if the killer is connected...?
Use
pawn Код:
if(IsPlayerConnected(killerid))
instead of
pawn Код:
if(!IsPlayerConnected(killerid))