[Ajuda] Erros de compile
#4

Quote:
Originally Posted by Cheleber_Pausini
Посмотреть сообщение
PHP код:
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;

penso que assim ta corrigido,
define a public,
PHP код:
forward UpdatePlayerVelocimetro(playerid); 



Deu os seguintes erros novamente:
OBS: A Forward ja estб definida..


Код:
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\VelocimetroEditando.pwn(34) : warning 235: public function lacks forward declaration (symbol "UpdatePlayerVelocimetro")
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\VelocimetroEditando.pwn(43) : error 012: invalid function call, not a valid address
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\VelocimetroEditando.pwn(43) : warning 215: expression has no effect
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\VelocimetroEditando.pwn(43) : error 001: expected token: ";", but found ")"
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\VelocimetroEditando.pwn(43) : error 029: invalid expression, assumed zero
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\VelocimetroEditando.pwn(43) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
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: 3 Guest(s)