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

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) {
                         {
     [B](Line 503)   [/B]                if(IsPlayerConnected(playerid))
        {
                        if(IsPlayerInWater(playerid))
        {
        SendClientMessage(playerid, COLOR_GREEN, "Fish.");
        }
       
return 0;
}
How to close it? Won't let me continue without closing, I don't see anywhere to close it, halfway asleep and can't really think.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)