[Ajuda] formatando textdraw
#1

Eu criei um comando para tentar... formatar 1 text draw, compilo normal tudo certinho.
Ai quando eu vou testar no jogo fazer o comando, nгo acontece nada a textdraw nгo aparesce... mais como eu nunca criei 1 textdraw nгo entendo nada sobre isso.. nгo sei se isso ta certo. :
pawn Код:
//Topo do gamemode
new Text:Textdraw1;

// public OnGameModeInit
Textdraw1 = TextDrawCreate(149.5 ,433 , "texto");
TextDrawFont(Textdraw1 , 1);
TextDrawLetterSize(Textdraw1 , 0.4, 2.8000000000000003);
TextDrawColor(Textdraw1 , 0xff0000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);


//Comando
CMD:texto(playerid, params[])
{
    new texto[128], tamanho[250];
    if(sscanf(params, "s[128]", texto))
    format(tamanho, sizeof(tamanho), "%s", texto);
    TextDrawSetString(Textdraw1,tamanho);
        TextDrawShowForAll(Textdraw1);
    return 1;
}
Tem algo de errado?
Reply


Messages In This Thread
formatando textdraw - by Supera - 07.10.2012, 20:39
Re: formatando textdraw - by Supera - 07.10.2012, 21:07
Re: formatando textdraw - by hard_dalzot - 07.10.2012, 21:11
Re: formatando textdraw - by Schocc - 07.10.2012, 21:22
Re: formatando textdraw - by Supera - 07.10.2012, 21:32
Re: formatando textdraw - by Schocc - 07.10.2012, 21:37
Re: formatando textdraw - by DrTHE - 07.10.2012, 21:46

Forum Jump:


Users browsing this thread: 5 Guest(s)