03.10.2015, 01:59
Isso pode resolver.
pawn Код:
//New
new tTextVelocimetro[MAX_PLAYERS];
//GameModeInit
for(new i; i < MAX_PLAYERS; i ++)
{
tTextVelocimetro[i] = TextDrawCreate(531.000000, 387.000000, "Veiculo~n~~n~Velocidade~n~~n~Diesel~n~~n~Lataria");
TextDrawAlignment(tTextVelocimetro[i], 3);
TextDrawBackgroundColor(tTextVelocimetro[i], 0);
TextDrawFont(tTextVelocimetro[i], 2);
TextDrawLetterSize(tTextVelocimetro[i], 0.210000, 0.799999);
TextDrawColor(tTextVelocimetro[i], -186);
TextDrawSetOutline(tTextVelocimetro[i], 0);
TextDrawSetProportional(tTextVelocimetro[i], 1);
TextDrawSetShadow(tTextVelocimetro[i], 1);
TextDrawSetSelectable(tTextVelocimetro[i], 0);
}
//Stock
new vehicleid = GetPlayerVehicleID(playerid);
if(VeiculoDiesel(vehicleid))
{
TextDrawSetString(tTextVelocimetro[playerid],"Veiculo~n~~n~Velocidade~n~~n~Diesel~n~~n~Lataria");
}