[Ajuda] Combustivel
#1

toda hr o combustivel fika mudando tipo o combustivel normal й 89 ai vai pra 49 depois fika 13 e volta pra 89:

pawn Код:
public Velocimetro()
{
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerConnected(i))
        {
            AtualizarInfos(i);
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(i, aname, MAX_PLAYER_NAME);
            if (IsPlayerInAnyVehicle(i))
            {
                new Float: X,
                Float: Y,
                Float: Z,
                Float: Speed;
                GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
                Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)), floatpower(Z, 2))), 200.0);
                new velocid;
                velocid = floatround(Speed, floatround_floor);
                new string[256];
                new PlayerVehicleModelID = GetVehicleModel(GetPlayerVehicleID(i));
                PlayerVehicleModelID -= 400;
                format(string, 256, "~n~     ~b~ ~h~ ~h~Velocidade~n~         ~w~%i~w~ ~h~~h~Km/h ~n~~n~     ~b~ ~h~ ~h~Combustivel~n~     ~w~ ~h~ ~h~ %d Litros", velocid, dini_Int(file, "Combustivel"));
                TextDrawSetString(velo[i], string);
                Radar(i);
                TextDrawShowForPlayer(i, velo[i]);
            }
            else TextDrawHideForPlayer(i, velo[i]);
        }
        else
        {
            TextDrawHideForPlayer(i, velo[i]);
        }
    }
}
Reply
#2

Alguem ?
Reply
#3

Alguem ajuda pelo amor de deus!
Reply
#4

Alguem me ajuda ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)