[Ajuda] Velocimetro PPC_Trucking
#1

ja fiz de Tudo e nгo conseguir alguйm pode ter amor no coraзгo e me ajuda....

o meu й assim......




e queria deixar assim olha ai q lindo.....



queria tanto isso nossa como eu me matei e nгo deu certo......
Reply
#2

Cara, pelo oque eu ando vendo, nos seus post, vocк quer tudo na mгo, vк esse tutorial do Don : http://forum.sa-mp.com/showthread.ph...PC_Speedometer

Vendo esse tutorial eu consegui fazer no meu, nгo demorei 20 minutos, vк a imagem :



Simples, cara vendo o tutorial, vocк cria o textdraw da lataria, e depois organiza do jeito que vocк deseja.
Reply
#3

Ok, mas vocк precisa de ajuda em que? Erro? Criaзгo dos textdraws? Pegar velocidade do veнculo?

Posta o cуdigo que vocк se matou pra criar e diz qual o problema que fica mais fбcil de ajudar vocк colega .

Abrзs.
Reply
#4

olha ai como fico queria deixar o formato da letra (lataria) igual as outras e os tracinho tb igual da LATARIA..



ta assim..

pawn Код:
Speedometer_Setup(playerid)
{
    //lataria
    APlayerData[playerid][Lataria] = TextDrawCreate(500.000000, 398.000000, " "); // Sem estar escrito nada
    TextDrawBackgroundColor(APlayerData[playerid][Lataria], 255);
    TextDrawLetterSize(APlayerData[playerid][Lataria], 0.449999, 1.599998);
    TextDrawColor(APlayerData[playerid][Lataria], -1);
    TextDrawSetOutline(APlayerData[playerid][Lataria], 1);
    TextDrawSetProportional(APlayerData[playerid][Lataria], 1);

    TextDrawShowForPlayer(playerid, APlayerData[playerid][Lataria]);

    APlayerData[playerid][SpeedometerTimer] = SetTimerEx("Speedometer_Update", 100, true, "i", playerid);

    // Setup the speedometer for the player
    APlayerData[playerid][SpeedometerText] = TextDrawCreate(498.000000, 364.000000, " ");
    APlayerData[playerid][FuelGauge] = TextDrawCreate(499.000000, 382.000000, " ");
    TextDrawFont(APlayerData[playerid][SpeedometerText], 3);
    TextDrawFont(APlayerData[playerid][FuelGauge], 3);
    TextDrawLetterSize(APlayerData[playerid][FuelGauge], 0.449999, 1.599998);
    TextDrawLetterSize(APlayerData[playerid][SpeedometerText], 0.449999, 1.599998);

    TextDrawFont(APlayerData[playerid][SpeedometerText], 3);
    TextDrawLetterSize(APlayerData[playerid][SpeedometerText], 0.449999, 1.599998);
    TextDrawSetOutline(APlayerData[playerid][SpeedometerText], 1);
    TextDrawSetProportional(APlayerData[playerid][SpeedometerText], 1);

    TextDrawFont(APlayerData[playerid][FuelGauge], 3);
    TextDrawLetterSize(APlayerData[playerid][FuelGauge], 0.449999, 1.599998);
    TextDrawSetOutline(APlayerData[playerid][FuelGauge], 1);
    TextDrawSetProportional(APlayerData[playerid][FuelGauge], 1);

    // Enable the TextDraw for this player
    TextDrawShowForPlayer(playerid, APlayerData[playerid][FuelGauge]);
    TextDrawShowForPlayer(playerid, APlayerData[playerid][SpeedometerText]);

    // Start the speedometer timer
    APlayerData[playerid][SpeedometerTimer] = SetTimerEx("Speedometer_Update", 300, true, "i", playerid);

    return 1;
}
Reply
#5

Quote:
Originally Posted by RedStone
Посмотреть сообщение
Cara, pelo oque eu ando vendo, nos seus post, vocк quer tudo na mгo, vк esse tutorial do Don : http://forum.sa-mp.com/showthread.ph...PC_Speedometer

Vendo esse tutorial eu consegui fazer no meu, nгo demorei 20 minutos, vк a imagem :



Simples, cara vendo o tutorial, vocк cria o textdraw da lataria, e depois organiza do jeito que vocк deseja.
Quote:
Originally Posted by comanfiss
Посмотреть сообщение
olha ai como fico queria deixar o formato da letra (lataria) igual as outras e os tracinho tb igual da LATARIA..



ta assim..

pawn Код:
Speedometer_Setup(playerid)
{
    //lataria
    APlayerData[playerid][Lataria] = TextDrawCreate(500.000000, 398.000000, " "); // Sem estar escrito nada
    TextDrawBackgroundColor(APlayerData[playerid][Lataria], 255);
    TextDrawLetterSize(APlayerData[playerid][Lataria], 0.449999, 1.599998);
    TextDrawColor(APlayerData[playerid][Lataria], -1);
    TextDrawSetOutline(APlayerData[playerid][Lataria], 1);
    TextDrawSetProportional(APlayerData[playerid][Lataria], 1);

    TextDrawShowForPlayer(playerid, APlayerData[playerid][Lataria]);

    APlayerData[playerid][SpeedometerTimer] = SetTimerEx("Speedometer_Update", 100, true, "i", playerid);

    // Setup the speedometer for the player
    APlayerData[playerid][SpeedometerText] = TextDrawCreate(498.000000, 364.000000, " ");
    APlayerData[playerid][FuelGauge] = TextDrawCreate(499.000000, 382.000000, " ");
    TextDrawFont(APlayerData[playerid][SpeedometerText], 3);
    TextDrawFont(APlayerData[playerid][FuelGauge], 3);
    TextDrawLetterSize(APlayerData[playerid][FuelGauge], 0.449999, 1.599998);
    TextDrawLetterSize(APlayerData[playerid][SpeedometerText], 0.449999, 1.599998);

    TextDrawFont(APlayerData[playerid][SpeedometerText], 3);
    TextDrawLetterSize(APlayerData[playerid][SpeedometerText], 0.449999, 1.599998);
    TextDrawSetOutline(APlayerData[playerid][SpeedometerText], 1);
    TextDrawSetProportional(APlayerData[playerid][SpeedometerText], 1);

    TextDrawFont(APlayerData[playerid][FuelGauge], 3);
    TextDrawLetterSize(APlayerData[playerid][FuelGauge], 0.449999, 1.599998);
    TextDrawSetOutline(APlayerData[playerid][FuelGauge], 1);
    TextDrawSetProportional(APlayerData[playerid][FuelGauge], 1);

    // Enable the TextDraw for this player
    TextDrawShowForPlayer(playerid, APlayerData[playerid][FuelGauge]);
    TextDrawShowForPlayer(playerid, APlayerData[playerid][SpeedometerText]);

    // Start the speedometer timer
    APlayerData[playerid][SpeedometerTimer] = SetTimerEx("Speedometer_Update", 300, true, "i", playerid);

    return 1;
}
concordo, cara eh so mexer nos textdraw, pelo visto voce ja tem a funзao pronta soh falta arrumar, estuda um pouco, nao pede tudo na mao nao cara,desanima quem quer ajudar , tipo como eu posso te ajudar se voce nao entende nada de pawn, nem procura estudar, quer comando feito.... e tenso assim manim, eu realmente quero ajudar, mas sem seu esforзo fica dificil :/
Reply
#6

olha cara vc me ajudo muito olha o que eu fiz por causa de vc kkkk.....

ANTES



DEPOIS



agora q fico ate melhor do q eu queria kkkkkkkkk й nуs..
Reply
#7

Pagando eu faзo qualquer coisa neste GM !
Reply
#8

Quote:
Originally Posted by comanfiss
Посмотреть сообщение
olha cara vc me ajudo muito olha o que eu fiz por causa de vc kkkk.....

ANTES



DEPOIS



agora q fico ate melhor do q eu queria kkkkkkkkk й nуs..
Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
Pagando eu faзo qualquer coisa neste GM !
parabens cara, eh assim que se aprende, se voce nгo buscar o conhecimento, nunca vai conseguir fazer nada sem vir aqui no forum e pedir,eu fico feliz que vocк tenha buscado aprender isso e conseguiu parabens mesmo

-----------------

Don_Speed:
й mano, pagando , atй minha mгe edita kkkkkk
mas й assim mesmo, o cara й iniciante, pelo menos ele tomou a iniciativa de aprender >.<
Reply
#9

OBG cara por me apoiar e me dar forзa pra fazer o impossнvel kkkkk iniciante й foda mais tudo comeзa de baixo hoje SO iniciante mais amanha SO o pica da galбxia.....kkkkkkkk

DON dinheiro eu tenho mais quando alguйm precisa de ajuda dinheiro nгo compra ta.... pq vc pedia ajuda aki hoje vc й professor.....respeito vc muito mais com essa atitude de cobra pela ajuda nгo so Fг...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)