[Ajuda] textdraw
#1

Ola!
Antes de eu colocar um loop em gamemodeinit e usar MAX_PLAYERS para as textdraw nao funfava nenhuma.
Agora funciona porem so para o id 0.

Seria algum code que provoca isso
Algum code que proiba que mostre para o resto
GM e Ingles PPC_Trucking.
Reply
#2

Onde e quais funзхes estб usando?
Reply
#3

Bom estou usando no gamemodeinit assim
pawn Код:
public OnGameModeInit()
{
    for(new x = 0; x < MAX_PLAYERS; x++)
    {
        Velocimetro[x] = TextDrawCreate(516.5 ,325 , "Velocidade");
        TextDrawFont(Velocimetro[x], 3);
        TextDrawLetterSize(Velocimetro[x], 0.3, 2.1);
        TextDrawColor(Velocimetro[x], 0x999999FF);
        TextDrawSetOutline(Velocimetro[x], false);
        TextDrawSetProportional(Velocimetro[x], true);
        TextDrawSetShadow(Velocimetro[x], 1);
        TextDrawUseBox(Velocimetro[x], 1);
        TextDrawBoxColor(Velocimetro[x], 0x00000065);
       }
return 1;
}
Reply
#4

Declarou da forma correta?
Reply
#5

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Declarou da forma correta?
pawn Код:
new Text:Velocimetro[MAX_PLAYERS];
pawn Код:
TextDrawShowForPlayer(playerid, Velocimetro[playerid]);
Uso dele!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)