12.06.2013, 11:54
(
Последний раз редактировалось Faayad; 12.06.2013 в 11:54.
Причина: Erros ortogrбficos
)
Primeiramente,Boa noite!
Aqui estou eu mais uma vez pra pedir ajuda de vocкs,agora й sobre o meu velocimetro:
Ele estб muito pequeno,e queria aumenta-lo para poder caber certin as coisas
Siga as ss:
Meu velocimetro e que a estб com uns nomes em cima do outro por motivos de bug,o outro velocimetro e que eu quero que fica o mesmo tamanho do meu.
Meu velocimetro:
Por favor me ajudem pessoal,por favor preciso muito. Vlw;
Aqui estou eu mais uma vez pra pedir ajuda de vocкs,agora й sobre o meu velocimetro:
Ele estб muito pequeno,e queria aumenta-lo para poder caber certin as coisas
Siga as ss:
Meu velocimetro e que a estб com uns nomes em cima do outro por motivos de bug,o outro velocimetro e que eu quero que fica o mesmo tamanho do meu.
Meu velocimetro:
pawn Код:
box[i] = TextDrawCreate(198.000000,396.000000,"_");
TextDrawUseBox(box[i],1);
TextDrawBoxColor(box[i],0x00000066);
TextDrawTextSize(box[i],435.000000,0.000000);
TextDrawAlignment(box[i],0);
TextDrawBackgroundColor(box[i],0x00000033);
TextDrawFont(box[i],3);
TextDrawLetterSize(box[i],1.000000,4.000000);
TextDrawColor(box[i],0xffffffff);
TextDrawSetOutline(box[i],1);
TextDrawSetProportional(box[i],1);
TextDrawSetShadow(box[i],1);
/*tacho[i] = TextDrawCreate(288.000000,380.000000,"Velocimetro");
TextDrawUseBox(tacho[i],1);
TextDrawBoxColor(tacho[i],0x00000066);
TextDrawTextSize(tacho[i],343.000000,67.000000);
TextDrawAlignment(tacho[i],0);
TextDrawBackgroundColor(tacho[i],0x000000ff);
TextDrawFont(tacho[i],2);
TextDrawLetterSize(tacho[i],0.399999,1.400000);
TextDrawColor(tacho[i],0xffffffff);
TextDrawSetOutline(tacho[i],1);
TextDrawSetProportional(tacho[i],1);
TextDrawSetShadow(tacho[i],1);*/
fahrzeug[i] = TextDrawCreate(199.000000,396.000000," ");
TextDrawAlignment(fahrzeug[i],0);
TextDrawBackgroundColor(fahrzeug[i],0x000000ff);
TextDrawFont(fahrzeug[i],1);
TextDrawLetterSize(fahrzeug[i],0.299999,1.000000);
//TextDrawLetterSize(fahrzeug[i], 0.600000, 1.000000);
TextDrawColor(fahrzeug[i],0xffffffff);
TextDrawSetOutline(fahrzeug[i],1);
TextDrawSetProportional(fahrzeug[i],1);
TextDrawSetShadow(fahrzeug[i],1);
kmh[i] = TextDrawCreate(345.000000,396.000000," ");
TextDrawAlignment(kmh[i],0);
TextDrawBackgroundColor(kmh[i],0x000000ff);
TextDrawFont(kmh[i],1);
TextDrawLetterSize(kmh[i],0.299999,1.000000);
//TextDrawLetterSize(kmh[i], 0.600000, 1.000000);
TextDrawColor(kmh[i],0xffffffff);
TextDrawSetOutline(kmh[i],1);
TextDrawSetProportional(kmh[i],1);
TextDrawSetShadow(kmh[i],1);
hoehe[i] = TextDrawCreate(199.000000,408.000000," ");
TextDrawAlignment(hoehe[i],0);
TextDrawBackgroundColor(hoehe[i],0x000000ff);
TextDrawFont(hoehe[i],1);
TextDrawLetterSize(hoehe[i],0.299999,1.000000);
//TextDrawLetterSize(hoehe[i], 0.600000, 1.000000);
TextDrawColor(hoehe[i],0xffffffff);
TextDrawSetOutline(hoehe[i],1);
TextDrawSetProportional(hoehe[i],1);
TextDrawSetShadow(hoehe[i],1);
blinda[i] = TextDrawCreate(199.000000,412.000000," ");
TextDrawAlignment(blinda[i],0);
TextDrawBackgroundColor(blinda[i],0x000000ff);
TextDrawFont(blinda[i],1);
TextDrawLetterSize(blinda[i],0.299999,1.000000);
//TextDrawLetterSize(blinda[i], 0.600000, 1.000000);blinda
TextDrawColor(blinda[i],0xffffffff);
TextDrawSetOutline(blinda[i],1);
TextDrawSetProportional(blinda[i],1);
TextDrawSetShadow(blinda[i],1);
zustand[i] = TextDrawCreate(345.000000,408.000000," ");
TextDrawAlignment(zustand[i],0);
TextDrawBackgroundColor(zustand[i],0x000000ff);
TextDrawFont(zustand[i],1);
TextDrawLetterSize(zustand[i],0.299999,1.000000);
//TextDrawLetterSize(zustand[i], 0.600000, 1.000000);
TextDrawColor(zustand[i],0xffffffff);
TextDrawSetOutline(zustand[i],1);
TextDrawSetProportional(zustand[i],1);
TextDrawSetShadow(zustand[i],1);
forum[i] = TextDrawCreate(1.000000,437.000000,"~r~[BEG]~b~|~p~|~g~||~y~| ~p~www~r~.~g~brasiltestgames~r~.~y~com~r~.~p~br ~b~|~p~|~g~||~y~|~r~ [RPG v1.2]");
TextDrawUseBox(forum[i],1);
TextDrawBoxColor(forum[i],0x00000066);
TextDrawTextSize(forum[i],641.000000,0.000000);
TextDrawAlignment(forum[i],0);
TextDrawBackgroundColor(forum[i],0x000000ff);
TextDrawFont(forum[i],3);
TextDrawLetterSize(forum[i], 0.600000, 1.000000);
TextDrawColor(forum[i],0xffffffff);
TextDrawSetOutline(forum[i],1);
TextDrawSetProportional(forum[i],1);
TextDrawSetShadow(forum[i],1);
}//
pawn Код:
TextDrawShowForPlayer(i, box[i]);
//TextDrawShowForPlayer(i, tacho[i]);
TextDrawShowForPlayer(i, fahrzeug[i]);
TextDrawShowForPlayer(i, kmh[i]);
TextDrawShowForPlayer(i, hoehe[i]);
TextDrawShowForPlayer(i, zustand[i]);
TextDrawShowForPlayer(i, blinda[i]);
TextDrawHideForPlayer(i, forum[i]);
}
new kmh_anzahl = floatround(value/1600);
format(str1,sizeof(str1),"~d~ Veiculo: ~p~%s ~n~~n~~n~ ~g~|~y~|~b~|~w~www.~g~brasil~y~Test~b~games~w~.com~g~|~y~|~b~|",vehName[GetVehicleModel(GetPlayerVehicleID(i))-400]);
TextDrawSetString(fahrzeug[i], str1);
if(kmh_anzahl >= 150)
{
format(str2,sizeof(str2),"~d~ KM/H: ~g~%d",kmh_anzahl);
TextDrawSetString(kmh[i], str2);
}
else if(kmh_anzahl >= 100)
{
format(str2,sizeof(str2),"~d~ KM/H: ~g~%d",kmh_anzahl);
TextDrawSetString(kmh[i], str2);
}
else if(kmh_anzahl >= 50)
{
format(str2,sizeof(str2),"~d~ KM/H: ~g~%d",kmh_anzahl);
TextDrawSetString(kmh[i], str2);
}
else
{
format(str2,sizeof(str2),"~d~ KM/H: ~g~%d",kmh_anzahl);
TextDrawSetString(kmh[i], str2);
}
format(str3,sizeof(str3),"~d~ Combustivel: ~p~%d%", Gas[vehicle]);
TextDrawSetString(hoehe[i], str3);
if(Speedo_HP >= 551)
{
format(str4,sizeof(str4),"~d~ Lataria: ~y~%0.0f%%", Speedo_HP/10);
TextDrawSetString(zustand[i], str4);
}
else if(Speedo_HP >= 361)
{
format(str4,sizeof(str4),"~d~ Lataria: ~y~%0.0f%%", Speedo_HP/10);
TextDrawSetString(zustand[i], str4);
}
else if(Speedo_HP >= 250)
{
format(str4,sizeof(str4),"~d~ Lataria: ~y~%0.0f%%", Speedo_HP/10);
TextDrawSetString(zustand[i], str4);
}
else
{
format(str4,sizeof(str4),"~d~ Lataria: ~y~%0.0f%%", Speedo_HP/10);
TextDrawSetString(zustand[i], str4);
}
format(str5,sizeof(str5),"~w~~d~ Blindagem: ~y~~h~%d%%", Vuln[vehicle]);
TextDrawSetString(blinda[i], str5);
}
SavePlayerPosV[i][sX] = Speedo_X, SavePlayerPosV[i][sY] = Speedo_Y, SavePlayerPosV[i][sZ] = Speedo_Z;
}
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerInAnyVehicle(i))
{
TextDrawHideForPlayer(i, box[i]); TextDrawHideForPlayer(i, fahrzeug[i]); TextDrawHideForPlayer(i, kmh[i]);
TextDrawHideForPlayer(i, hoehe[i]); TextDrawHideForPlayer(i, zustand[i]); TextDrawShowForPlayer(i, forum[i]);
TextDrawHideForPlayer(i, blinda[i]);
SpeedoON[i] = 0;
}
}
}