05.07.2011, 15:43
(
Последний раз редактировалось Ricop522; 05.07.2011 в 20:06.
)
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);