09.09.2010, 12:46
It's not sending any name that has the most kills.
pawn Code:
forward TimeUp(playerid,notify);
public TimeUp(playerid,notify)
{
new player;
if(notify == 1)
{
for(new i; i < MAX_PLAYERS; i++)
{
if(gKills[i] > gKills[playerid]) player = i;
}
GetPlayerName(player, gPlayerName, sizeof(gPlayerName));
format(str, sizeof(str), "%s has won the match with the most kills.",player);
Sendclientmessagetoall..........
}
return 1;
}