[Ajuda] Blindagem Nao Aparece No Velocнmetro !
#1

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 ?
Reply
#2

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.
Reply
#3

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

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;
}
Reply
#5

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

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

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

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

a e muita coisa man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)