11.07.2013, 23:56
Olб,eu queria um TextDraw de velocнmetro,eu ainda estou comeзando a estudar TextDraw,se alguйm ajuda +REP e ficarei grato!
Velo[i] = TextDrawCreate(30,326, " ");
TextDrawFont(Velo[i],1);
TextDrawBackgroundColor(Velo[i], 255);
TextDrawSetOutline(Velo[i], 1);
TextDrawColor(Velo[i], -1);
TextDrawShowForPlayer (i, Velo[i]);
}
new Text:velo[MAX_PLAYERS];
Velo[i] = TextDrawCreate(30,326, " ");
TextDrawFont(Velo[i],1);
TextDrawBackgroundColor(Velo[i], 255);
TextDrawSetOutline(Velo[i], 1);
TextDrawColor(Velo[i], -1);
TextDrawShowForPlayer (i, Velo[i]);
}
velo[playerid] = TextDrawCreate(230, 350,"~r~Velocidade:0Km/h");
TextDrawTextSize(velo[playerid], 450, 500);
TextDrawColor(velo[playerid], -1);
TextDrawUseBox(velo[playerid], 1);
TextDrawSetShadow(velo[playerid], 2);
TextDrawBoxColor(velo[playerid], 70);
TextDrawSetOutline(velo[playerid], 0);
TextDrawBackgroundColor(velo[playerid], 170);
TextDrawFont(velo[playerid], 1);
TextDrawSetProportional(velo[playerid], 1);
TextDrawHideForPlayer(playerid, velo[playerid]);
TextDrawHideForPlayer(playerid, velo[playerid]);