01.03.2017, 13:45
Qual й a linha 43 e 34?
@EDIT
Talvez assim, sem saber as linhas й dificil..
@EDIT
Talvez assim, sem saber as linhas й dificil..
PHP код:
public UpdatePlayerVelocimetro(playerid)
{
new playervehicle = GetPlayerVehicleID(playerid)
if (playervehicle != INVALID_VEHICLE_ID)
{
new string_velo[15];
format(string_velo, sizeof (string_velo), "%02d km/h", GetVehicleSpeed(playervehicle));
PlayerTextDrawSetString(playerid, textPlayerVelocimetro[1][playerid], string_velo);
format(string_velo, sizeof (string_velo), "%.0f%", GetVehicleHealthEx(playervehicle));
PlayerTextDrawSetString(playerid, textPlayerVelocimetro[3][playerid], string_velo);
format(string_velo, sizeof (string_velo), "%02d Litros", Gas[playervehicle]);
PlayerTextDrawSetString(playerid, textPlayerVelocimetro[2][playerid], string_velo);
}
return 1;
}