[Ajuda] Erros de compile
#1

Linhas:

Код HTML:
public UpdatePlayerVelocimetro(playerid) {

	new playervehicle;

	if ( (playervehicle = GetPlayerVehicleID(playerid)) != 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;
}




ERROS:


PHP код:
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Velocimetro.pwn(34) : warning 235: public function lacks forward declaration (symbol "UpdatePlayerVelocimetro")
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Velocimetro.pwn(42) : error 028invalid subscript (not an array or too many subscripts): "GetVehicleSpeed"
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Velocimetro.pwn(42) : warning 215expression has no effect
C
:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Velocimetro.pwn(42) : error 001expected token";"but found "]"
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Velocimetro.pwn(42) : error 029invalid expressionassumed zero
C
:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Velocimetro.pwn(42) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB 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)