10.02.2013, 12:10
Ryan was halfway there by telling you that you need to use &&.
That means:
If they are not at the point, and not in a reefer, they can't fish.
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 2.0, 2103.9148, -103.5168, 2.27) && GetVehicleModel(GetPlayerVehicleID(playerid)) != 451)
{
return SendClientMessage(playerid, COLOR_LIGHTRED, "Error{FFFFFF}: You are not at a fishing spot.");
}
If they are not at the point, and not in a reefer, they can't fish.