16.03.2012, 19:49
Do it outside the function.
pawn Код:
new bestkiller = GetHighestKills();
if (bestkiller != INVALID_PLAYER_ID)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(bestkiller, name, sizeof(name));
// name now contains the players name
}