[FilterScript] Textdraw HUD
#16

Se tu fizesse ideia a quantidade de textdraws que voce desperdiзa fazendo isto:

pawn Код:
//PING
        for( new i = 0; i < MAX_PLAYERS; i++ )
    {
        PingT[ i ] = TextDrawCreate(499.000000, 104.000000, " ");
                TextDrawBackgroundColor(PingT[ i ], 255);
                TextDrawAlignment(PingT[ i ], 1);
                TextDrawFont(PingT[ i ], 2);
                TextDrawLetterSize(PingT[ i ], 0.270000, 2.200000);
                TextDrawColor(PingT[ i ], -1);
                TextDrawSetOutline(PingT[ i ], 1);
                TextDrawSetProportional(PingT[ i ], 1);
                TextDrawSetShadow(PingT[ i ], 2);
    }
    //SCORE
        for(new i; i < MAX_PLAYERS; i++)
        {
                ScoreTextDraw[i] = TextDrawCreate(498.000000, 142.000000, " ");
                TextDrawBackgroundColor(ScoreTextDraw[i], 255);
            TextDrawFont(ScoreTextDraw[i], 2);
            TextDrawLetterSize(ScoreTextDraw[i], 0.270000, 2.200000);
            TextDrawColor(ScoreTextDraw[i], -1);
            TextDrawSetOutline(ScoreTextDraw[i], 1);
            TextDrawSetProportional(ScoreTextDraw[i], 1);
            TextDrawSetShadow(ScoreTextDraw[i], 1);
        }
Usa playertextdraws man, e algumas coisas nao precisa de estar inserias no timer o que vai fazer com que seja processado mais rapido.
Reply


Messages In This Thread
Textdraw HUD - by DarthVeider - 08.12.2014, 20:42
Re: Textdraw HUD - by JonathanFeitosa - 08.12.2014, 21:02
Re: Textdraw HUD - by PaulMcCartney - 08.12.2014, 21:04
Re: Textdraw HUD - by DarthVeider - 08.12.2014, 21:10
Re: Textdraw HUD - by n0minal - 08.12.2014, 21:14
Re: Textdraw HUD - by JonathanFeitosa - 08.12.2014, 21:16
Re: Textdraw HUD - by DarthVeider - 08.12.2014, 21:17
Re: Textdraw HUD - by DarthVeider - 08.12.2014, 21:20
Re: Textdraw HUD - by ProKillerpa - 08.12.2014, 21:22
Re: Textdraw HUD - by DarthVeider - 08.12.2014, 21:26
Re: Textdraw HUD - by PaulMcCartney - 08.12.2014, 21:27
Re: Textdraw HUD - by DarthVeider - 08.12.2014, 21:36
Re: Textdraw HUD - by WLSF - 08.12.2014, 21:43
Re: Textdraw HUD - by DarthVeider - 08.12.2014, 21:46
Re: Textdraw HUD - by ReyMysterio - 08.12.2014, 23:00
Re: Textdraw HUD - by PT - 08.12.2014, 23:19
Re: Textdraw HUD - by Artista - 09.12.2014, 02:00
Re: Textdraw HUD - by DarthVeider - 09.12.2014, 15:40
Re: Textdraw HUD - by wahyumahadir - 06.02.2015, 17:59
Re: Textdraw HUD - by defaubr - 07.02.2015, 13:46
Re: Textdraw HUD - by DannielCooper - 08.02.2015, 20:39

Forum Jump:


Users browsing this thread: 3 Guest(s)