How to check killerid isn't connected
#8

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))
Reply


Messages In This Thread
How to check killerid isn't connected - by [WSF]ThA_Devil - 24.01.2011, 18:00
Re: How to check killerid isn't connected - by Dreftas - 24.01.2011, 18:01
Re: How to check killerid isn't connected - by Macluawn - 24.01.2011, 18:03
Re: How to check killerid isn't connected - by [WSF]ThA_Devil - 24.01.2011, 18:06
Re: How to check killerid isn't connected - by [WSF]ThA_Devil - 24.01.2011, 18:07
Re: How to check killerid isn't connected - by Dreftas - 24.01.2011, 18:13
Re: How to check killerid isn't connected - by [WSF]ThA_Devil - 24.01.2011, 18:19
Re: How to check killerid isn't connected - by [03]Garsino - 24.01.2011, 18:21
Re: How to check killerid isn't connected - by [WSF]ThA_Devil - 24.01.2011, 18:52
Re: How to check killerid isn't connected - by [03]Garsino - 24.01.2011, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)