SA-MP Forums Archive
[Ajuda] Blindagem Nao Aparece No Velocнmetro ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Blindagem Nao Aparece No Velocнmetro ! (/showthread.php?tid=495781)



Blindagem Nao Aparece No Velocнmetro ! - Alisson Silva Alves - 18.02.2014

pawn Код:
public gasolina(playerid)
{
    new string[128];
    new vehicle = GetPlayerVehicleID(playerid);
    new Nick[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Nick, sizeof(Nick));
    new wanted = WantedPoints[playerid];
    SendClientMessage(playerid, COLOR_YELLOW2, "-=Computador De Bordo=-");
    format(string, sizeof(string), "  Motorista: %s", Nick);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Veiculo: %s", NomeCarro[vehicle]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Combustivel: %d", Gas[vehicle]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Nivel De Procura: %d", wanted);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Horas: %d", hour);
    SendClientMessage(playerid, COLOR_WHITE, string);
    Gas[vehicle]--;
    return 1;
}

Como Faзo Para Que a Blindagem Aparece No Velocнmetro ?


Re: Blindagem Nao Aparece No Velocнmetro ! - LucaAllexandre - 18.02.2014

pawn Код:
public gasolina(playerid)
{
    new string[128];
    new vehicle = GetPlayerVehicleID(playerid);
    new Nick[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Nick, sizeof(Nick));
    new wanted = WantedPoints[playerid];
    SendClientMessage(playerid, COLOR_YELLOW2, "-=Computador De Bordo=-");
    format(string, sizeof(string), "  Motorista: %s", Nick);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Veiculo: %s", NomeCarro[vehicle]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Combustivel: %d", Gas[vehicle]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Nivel De Procura: %d", wanted);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Horas: %d", hour);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Blindagem: %i", SUAVARIAVELDEBLINDAGEM);
    SendClientMessage(playerid, COLOR_WHITE, string);
    Gas[vehicle]--;
    return 1;
}
Troque por isto ai, ai na onde estб SUAVARIAVELDEBLINDAGEM,Troque pela vбriavel que armazena o nъmero da blindagem e seta ao veiculo, assim irб mostrar.


Re: Blindagem Nao Aparece No Velocнmetro ! - Alisson Silva Alves - 18.02.2014

seria esse ?
pawn Код:
Blindado[playerid]



Re: Blindagem Nao Aparece No Velocнmetro ! - s4kuL - 18.02.2014

Tente isso:

pawn Код:
public gasolina(playerid)
{
    new string[128];
    new vehicle = GetPlayerVehicleID(playerid);
    new Nick[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Nick, sizeof(Nick));
    new wanted = WantedPoints[playerid];
    SendClientMessage(playerid, COLOR_YELLOW2, "-=Computador De Bordo=-");
    format(string, sizeof(string), "  Motorista: %s", Nick);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Veiculo: %s", NomeCarro[vehicle]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Combustivel: %d", Gas[vehicle]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Nivel De Procura: %d", wanted);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Horas: %d", hour);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "  Blindagem: %d", BlindagemOffer[playerid]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    Gas[vehicle]--;
    return 1;
}



Re: Blindagem Nao Aparece No Velocнmetro ! - LucaAllexandre - 18.02.2014

Quote:
Originally Posted by Alisson Silva Alves
Посмотреть сообщение
seria esse ?
pawn Код:
Blindado[playerid]
Sim, deve ser. Tente por esta e veja se apareceu! ;P


Re: Blindagem Nao Aparece No Velocнmetro ! - Alisson Silva Alves - 18.02.2014

Nгo Apareceu ! =( , Tem Alguma Maneira Certa Para Eu Descobrir


Re: Blindagem Nao Aparece No Velocнmetro ! - Alisson Silva Alves - 18.02.2014

pawn Код:
else if(strcmp(x_Emprego,"blindagem",true) == 0) { BlindagemOffer[playerid] = 999; BlindagemPrice[playerid] = 0; }



Re: Blindagem Nao Aparece No Velocнmetro ! - s4kuL - 18.02.2014

Edit: Entгo nгo sei cara, manda o sistema todo pra podermos ver.


Re: Blindagem Nao Aparece No Velocнmetro ! - Alisson Silva Alves - 18.02.2014

a e muita coisa man