[Ajuda] Com Rank
#4

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;
            }
        }
    }
Reply


Messages In This Thread
[Ajuda] Com Rank - by cotonete - 17.11.2011, 19:42
Re: [Ajuda] Com Rank - by ViniBorn - 17.11.2011, 19:53
Re: [Ajuda] Com Rank - by cotonete - 17.11.2011, 19:56
Re: [Ajuda] Com Rank - by ViniBorn - 17.11.2011, 20:01

Forum Jump:


Users browsing this thread: 2 Guest(s)