[Ajuda]Erros "Empty Statement"
#3

Refiz em stock , veja se funciona ^^
pawn Код:
//#define TextDrawFormatShowForPlayer(%0,%1,%2); \
//TextDrawSetString(%1,%2);TextDrawShowForPlayer(%0,%1);

stock TextDrawFormatShowForPlayer(j, textdraw, texto[]) {
    TextDrawSetString(textdraw,texto);
    TextDrawShowForPlayer(j,textdraw);
    return true;
}

stock TextDrawFormatShowForPlayer(j, textdraw, texto[]) return TextDrawSetString(textdraw,texto),TextDrawShowForPlayer(j,textdraw);

//Caso nгo funcione acima tente esse
stock TextDrawFormatShowForPlayer(j, textdraw, texto[]) {
    new j_String[0x80];
    format(j_String, sizeof(j_String), "%s", texto);
    TextDrawSetString(textdraw,j_String);
    TextDrawShowForPlayer(j, textdraw);
    return true;
}

//Ou tente esse
#define TDFormatPlayer(%0, %1, %2) new jN[0x80] format(jN, sizeof(jN), "%s", %2) TextDrawSetString(%1, %2) TextDrawShowForPlayer(%0, %1);
Reply


Messages In This Thread
[Ajuda]Erros "Empty Statement" - by [$]GhosTRydeR[$] - 05.07.2011, 15:11
Re: [Ajuda]Erros "Empty Statement" - by array13 - 05.07.2011, 15:20
Re: [Ajuda]Erros "Empty Statement" - by Ricop522 - 05.07.2011, 15:43
Re: [Ajuda]Erros "Empty Statement" - by array13 - 05.07.2011, 18:51
Re: [Ajuda]Erros "Empty Statement" - by Ricop522 - 05.07.2011, 18:53
Re: [Ajuda]Erros "Empty Statement" - by array13 - 05.07.2011, 18:55
Re: [Ajuda]Erros "Empty Statement" - by [BEP]AcerPilot - 05.07.2011, 19:25
Re: [Ajuda]Erros "Empty Statement" - by TheGarfield - 05.07.2011, 19:30
Re: [Ajuda]Erros "Empty Statement" - by [$]GhosTRydeR[$] - 05.07.2011, 23:10
Re: [Ajuda]Erros "Empty Statement" - by [BEP]AcerPilot - 05.07.2011, 23:18

Forum Jump:


Users browsing this thread: 2 Guest(s)