using System; using System.Collections.Generic; using System.Text; using GTANetworkAPI; namespace ReallifeGamemode.Server.Job.BusDriver { public class ObjectiveInfo { public Vector3 Position { get; set; } public float Size { get; set; } public bool IsInObjective(Client client) { return (client.Position.DistanceTo2D(Position) <= Size) ? true : false; } } }