17.11.2011, 20:01
Tenta isso
pawn Код:
//Topo do GM
new BigKiller;
//OnPlayerDisconnect
if(playerid == BigKiller)
TextDrawHideForAll(TextMatador);
new pName[24], string3[128];
for(new a; a < MAX_PLAYERS; ++a)
{
if(IsPlayerConnected( a) && !IsPlayerNPC( a))
{
GetPlayerName(a, pName, 24);
if(Kills[a] > MaxKills)
{
MaxKills = Kills[a];
BigKiller = a;
format(string3, 128, " Killer: '%s'", pName);
TextDrawSetString(TextMatador, string3);
TextDrawShowForAll(TextMatador);
break;
}
}
}