HOLA COOMO ARREGLO ESTE ERROR
(4580) : error 012: invalid function call, not a valid address
(4580) : warning 215: expression has no effect
(4580) : error 001: expected token: ";", but found ")"
(4580) : error 029: invalid expression, assumed zero
(4580) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(Vehiculo_Cosechadora(vehicleid) && !ispassenger) // LINEA DEL ERROR 4580
{
if(Informacion[playerid][ITrabajo] == 1)
{
Mensaje_Cosechador[playerid] = true;
SendClientMessage(playerid, -1, "Usa: "C_AMARILLO"/cosechar"C_BLANCO" para trabajar");
}
else
{
SendClientMessage(playerid,-1,"No eres cosechador.");
RemoveFromVehicle(playerid);
}
return 1;
}
return 0;
}
PORFAVOR AYUDENME
(4580) : error 012: invalid function call, not a valid address
(4580) : warning 215: expression has no effect
(4580) : error 001: expected token: ";", but found ")"
(4580) : error 029: invalid expression, assumed zero
(4580) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(Vehiculo_Cosechadora(vehicleid) && !ispassenger) // LINEA DEL ERROR 4580
{
if(Informacion[playerid][ITrabajo] == 1)
{
Mensaje_Cosechador[playerid] = true;
SendClientMessage(playerid, -1, "Usa: "C_AMARILLO"/cosechar"C_BLANCO" para trabajar");
}
else
{
SendClientMessage(playerid,-1,"No eres cosechador.");
RemoveFromVehicle(playerid);
}
return 1;
}
return 0;
}
PORFAVOR AYUDENME