10/04/2022 18:20
Código:
stock AtualizarVelocimetro(playerid)
{
new veh = GetPlayerVehicleID(playerid);
if(veh == 0) return 1;
//Motor
new health;
GetVehicleHealth(veh, health);
if(health < 100) health = 100;
SetPlayerProgressBarValue(playerid, VBarra[playerid][1], health);
ShowPlayerProgressBar(playerid, VBarra[playerid][1]);
return 1;
}