[AJUDA] Textdraw Kills
#1

Pessoal fiz um text de kills sу que ele nгo pega os kills quando loga, e quando o usuбrio morre num conta.

Cуdigo
pawn Код:
//no OnGameModeInit
        Textdraw1 = TextDrawCreate(597.000000, 103.000000, "0");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.390000, 1.200000);
    TextDrawColor(Textdraw1, -1);
    TextDrawSetOutline(Textdraw1, 0);
    TextDrawSetProportional(Textdraw1, 1);
    TextDrawSetShadow(Textdraw1, 1);

    for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, Textdraw1);
        }
    }

       //OnPlayerConnect
       TextDrawShowForPlayer(playerid, Textdraw1);

       //OnPlayerDeath
       PlayerInfo[playerid][Morto] += 1;
       TextDrawSetString(Textdraw1, PlayerInfo[playerid][Morto]);
eu fiz um comando /status, que aparece em SendClientMessage, nele funciona, sу nгo funciona o Text, como eu arrumo?
Reply


Messages In This Thread
[AJUDA] Textdraw Kills - by GuikBretas - 04.03.2011, 10:24
Re: [AJUDA] Textdraw Kills - by zbt_Daimyo - 04.03.2011, 13:01
Re: [AJUDA] Textdraw Kills - by LuxurioN™ - 04.03.2011, 13:07
Re: [AJUDA] Textdraw Kills - by zbt_Daimyo - 04.03.2011, 13:11

Forum Jump:


Users browsing this thread: 1 Guest(s)