[Ajuda] Bug estranho!
#1

WARNINGS

warning 213: tag mismatch

LINHAS:

TA NO ONPLAYERSPAWN

pawn Код:
TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
        TextDrawShowForPlayer(playerid, Textdraw2);
Reply
#2

No topo coloca no fim das variбveis a definiзгo [MAX_PLAYERS]
pawn Код:
//Exemplo
new Text:Health[MAX_PLAYERS];
Em OnGamemodeInit coloca esse loop acima das textdraws:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
//Cуdigo das TextDraws aqui
    }
Nгo esquece de colocar no fim da variбvel o simbolo "i":
pawn Код:
//Exemplo
    Health[i] = TextDrawCreate(566.000000, 67.000000, "100%");
    TextDrawBackgroundColor(Health[i], 255);
    TextDrawFont(Health[i], 1);
    TextDrawLetterSize(Health[i], 0.219999, 0.899999);
    TextDrawColor(Health[i], -1);
    TextDrawSetOutline(Health[i], 1);
    TextDrawSetProportional(Health[i], 1);
Na public OnPlayerSpawn coloca [playerid] no fim:
pawn Код:
//Exemplo
TextDrawShowForPlayer(playerid, Health[playerid]);
Reply
#3

Vlw mesmo mano deu certinho!!
Reply
#4

Quote:
Originally Posted by best95
Посмотреть сообщение
Vlw mesmo mano deu certinho!!
De nada
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)