13.05.2015, 17:01
EDIT:
FIXED, I was an idiot.
FIXED, I was an idiot.
new vehid = GetPlayerSurfingVehicleID(playerid); if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOUR_GREY, "You must get out of the vehicle to use this."); if ( !IsPlayerInRangeOfPoint(playerid, 5, -1624.0994,1423.9761,7.1734) && (!IsABoat(vehid) && vehid != INVALID_VEHICLE_ID) ) return SendClientMessage(playerid, COLOUR_GREY, "You must be on a boat or at a fishing pier to release your fish.");