Detecting who has the most kills
#4

Just add the name here, not in the function.

pawn Код:
new bestkiller = GetHighestKills();

if (bestkiller != INVALID_PLAYER_ID)
{
new name[30];
GetPlayerName(bestkiller,name,sizeof(name));
    // Do something
}
Reply


Messages In This Thread
Detecting who has the most kills - by new121 - 16.03.2012, 18:30
Re: Detecting who has the most kills - by Psymetrix - 16.03.2012, 19:34
Re: Detecting who has the most kills - by new121 - 16.03.2012, 19:46
Re: Detecting who has the most kills - by coole210 - 16.03.2012, 19:47
Re: Detecting who has the most kills - by Psymetrix - 16.03.2012, 19:49
Re: Detecting who has the most kills - by new121 - 16.03.2012, 19:52

Forum Jump:


Users browsing this thread: 3 Guest(s)