[Ajuda]TextDraw
#2

Vou te dar o Cуdigo de uma TextDraw com as Explicaзхes , para Vocк Estudar.

pawn Код:
new Text:Textdraw0; // Como se Fosse uma Definiзгo Para a Criaзгo da Mesma    

    Textdraw0= TextDrawCreate(1.0, 433.0, "Texto");// Aqui Criarб a TextDraw
    TextDrawAlignment(Textdraw0,0); // Alinhamento da Text
    TextDrawUseBox(Textdraw0,2); // Aqui Vocк define entre 0 e 1 Se quer ou Nгo a Caixa Preta em Torno da Text
    TextDrawBoxColor(Textdraw0,0x000000FF); // Cor da Caixa
    TextDrawBackgroundColor(Textdraw0,0x000000FF); // Cor de Fundo da TextDraw
    TextDrawFont(Textdraw0,1); // Fontes da TextDraw ( de 0 a 4 )
    TextDrawLetterSize(Textdraw0,0.2920, 1.4); // Tamanho da Letra da TextDraw
    TextDrawColor(Textdraw0, 0xFFFFFFFF); // Cor do Texto
    TextDrawSetOutline(Textdraw0,1); // Definindo o Contorno da Textdraw
    TextDrawSetProportional(Textdraw0,1); // Definindo as Proporзхes
    TextDrawSetShadow(Textdraw0,1); // Define se Quer ou Nгo Sombra
    for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, Textdraw0);       // Todo Este Cуdigo й para aparecer para Todos (Loop)
        }
    }

TextDrawShowForPlayer(playerid, Textdraw0); // Usado no OnPlayerConnect , para ser Criada ao player quando Conectar.
Se Tiver mais Alguma Dъvida , sу perguntar.

Obs : Isto й feito a mгo , sem o Editor ^^
Reply


Messages In This Thread
[Ajuda]TextDraw - by Luciano* - 03.05.2012, 00:12
Re: [Ajuda]TextDraw - by .FuneraL. - 03.05.2012, 00:16
Respuesta: [Ajuda]TextDraw - by Luciano* - 03.05.2012, 00:21
Re: [Ajuda]TextDraw - by AmericanStyle'™ - 03.05.2012, 00:22
Re: [Ajuda]TextDraw - by Abravanel - 03.05.2012, 00:22
Re: Respuesta: [Ajuda]TextDraw - by leosivi - 03.05.2012, 00:26
Respuesta: Re: [Ajuda]TextDraw - by Luciano* - 03.05.2012, 00:27
Re: [Ajuda]TextDraw - by .FuneraL. - 03.05.2012, 00:27
Respuesta: [Ajuda]TextDraw - by Luciano* - 03.05.2012, 00:54
Re: [Ajuda]TextDraw - by 4LiSs0N - 03.05.2012, 12:14

Forum Jump:


Users browsing this thread: 1 Guest(s)