added aduty system + added ChatService.BroadcastDutyAdmin + fixes in report system + added paaqos busdriver job
This commit is contained in:
18
ReallifeGamemode.Server/Job/BusDriver/ObjectiveInfo.cs
Normal file
18
ReallifeGamemode.Server/Job/BusDriver/ObjectiveInfo.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user