Error message: : error 030: compound statement not closed at the end of file (started at line 503)
#5

it is a missing brackets/two opening brackets

FIX CODE:

pawn Code:
forward IsPlayerOnAnyBoat(playerid);
public IsPlayerOnAnyBoat(playerid)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new FXF_vehicle = GetVehicleModel(GetPlayerVehicleID(playerid));
        if(FXF_vehicle == 430 || FXF_vehicle == 446 || FXF_vehicle == 452 || FXF_vehicle == 453 || FXF_vehicle == 454 || FXF_vehicle == 472 || FXF_vehicle == 473 || FXF_vehicle == 484 || FXF_vehicle == 493 || FXF_vehicle == 595)
        {
            if(IsPlayerConnected(playerid))
            {
                if(IsPlayerInWater(playerid))
                {
                    SendClientMessage(playerid, COLOR_GREEN, "Fish.");
                }
            }
        }
    }
    return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)