[Ajuda] Erros de compile
#3

PHP код:
forward UpdatePlayerVelocimetro(playerid);
public 
UpdatePlayerVelocimetro(playerid)
{
    new 
playervehicle;
    if((
playervehicle GetPlayerVehicleID(playerid) != INVALID_VEHICLE_ID))
    {
        new 
string_velo[15];
        
format(string_velosizeof (string_velo), "%02d km/h"GetVehicleSpeed[playervehicle]);
        
PlayerTextDrawSetString(playeridtextPlayerVelocimetro[1][playerid], string_velo);

        
format(string_velosizeof (string_velo), "%.0f%"GetVehicleHealthEx[playervehicle]);
        
PlayerTextDrawSetString(playeridtextPlayerVelocimetro[3][playerid], string_velo);

        
format(string_velosizeof (string_velo), "%02d Litros"Gas[playervehicle]);
        
PlayerTextDrawSetString(playeridtextPlayerVelocimetro[2][playerid], string_velo);
    }
    return 
1;

Tenta isso.
Reply


Messages In This Thread
Erros de compile - by Eiffel - 01.03.2017, 13:11
Re: Erros de compile - by Cheleber_Pausini - 01.03.2017, 13:35
Re: Erros de compile - by Felipe1241421 - 01.03.2017, 13:40
Respuesta: Re: Erros de compile - by Eiffel - 01.03.2017, 13:41
Re: Erros de compile - by Felipe1241421 - 01.03.2017, 13:43
Re: Erros de compile - by Cheleber_Pausini - 01.03.2017, 13:45
Respuesta: Erros de compile - by Eiffel - 01.03.2017, 13:59
Re: Erros de compile - by Wellington1999 - 01.03.2017, 14:00
Respuesta: Erros de compile - by Eiffel - 01.03.2017, 14:03
Re: Erros de compile - by Cheleber_Pausini - 01.03.2017, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)