13.04.2012, 03:38
it is a missing brackets/two opening brackets
FIX CODE:
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;
}