[AJUDA]TextDraw nгo aparece, '-'
#1

E aн galera do Fуrum SA-MP.

Entгo, fiz um velocimetro , sу que o nome do veнculo nгo estб aparecendo, e os outros aparecem normalmente.


Code:

pawn Код:
inнcio:
new Text: CarroName[MAX_PLAYERS];

OnGameModeInit:

CarroName[i] = TextDrawCreate(18.000000, 276.000000, " ");
TextDrawBackgroundColor(CarroName[i], 255);
TextDrawFont(CarroName[i], 3);
TextDrawLetterSize(CarroName[i], 0.500000, 1.000000);
TextDrawColor(CarroName[i], -1);
TextDrawSetOutline(CarroName[i], 0);
TextDrawSetProportional(CarroName[i], 1);
TextDrawSetShadow(CarroName[i], 1);
TextDrawUseBox(CarroName[i], 1);
TextDrawBoxColor(CarroName[i], 175);
TextDrawTextSize(CarroName[i], 185.000000, 110.000000);

//Na public de atualizar o vehicle
format(str1,sizeof(str1),"~>~~b~Veiculo: ~w~%s",vehName[GetVehicleModel(GetPlayerVehicleID(i))-400]);
TextDrawSetString(CarroName[i], str1);

format(str1,sizeof(str1),"~>~~b~Veiculo: ~w~%s",vehName[GetVehicleModel(GetPlayerVehicleID(i))-400]);
TextDrawSetString(CarroName[i], str1);
if(VelocimetroONAll == 1)
{
     TextDrawShowForPlayer(i, CarroName[i]);
}
Espero que vocкs me ajudem '-'
Reply


Messages In This Thread
[AJUDA]TextDraw nгo aparece, '-' - by roginho_97 - 27.07.2011, 14:47
Re: [AJUDA]TextDraw nгo aparece, '-' - by Shadoww5 - 27.07.2011, 16:27
Respuesta: Re: [AJUDA]TextDraw nгo aparece, '-' - by roginho_97 - 27.07.2011, 16:41
Re: [AJUDA]TextDraw nгo aparece, '-' - by Shadoww5 - 27.07.2011, 16:52
Re: [AJUDA]TextDraw nгo aparece, '-' - by MaNo_NoIa - 28.07.2011, 00:43
Re: [AJUDA]TextDraw nгo aparece, '-' - by Ricop522 - 28.07.2011, 02:19
Respuesta: [AJUDA]TextDraw nгo aparece, '-' - by roginho_97 - 28.07.2011, 18:04
Re: [AJUDA]TextDraw nгo aparece, '-' - by roginho_97 - 29.07.2011, 22:43
Re: [AJUDA]TextDraw nгo aparece, '-' - by [R] ousenber [K] - 30.07.2011, 00:07
Re: [AJUDA]TextDraw nгo aparece, '-' - by roginho_97 - 08.08.2011, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)