11.05.2014, 03:07
(
Последний раз редактировалось DoN_ReNaTo; 11.05.2014 в 04:56.
)
pawn Код:
new Text:Textdraw0[MAX_PLAYERS];
public OnGameModeInit()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
Textdraw0[i] = TextDrawCreate(39.000000, 285.000000, "--");//text draw do veiculo
TextDrawBackgroundColor(Textdraw0[i], 255);
TextDrawFont(Textdraw0[i], 3);
TextDrawLetterSize(Textdraw0[i], 0.500000, 1.000000);
TextDrawColor(Textdraw0[i], 16711935);
TextDrawSetOutline(Textdraw0[i], 1);
TextDrawSetProportional(Textdraw0[i], 1);
TextDrawTextSize(Textdraw0[i], 187.000000, 549.000000);
//continue o resto...
}
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw0);
por:
TextDrawHideForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);