RAGECOOP-V/Server/Entities/EntitiesPed.cs
2021-08-14 21:49:23 +02:00

13 lines
292 B
C#

namespace CoopServer.Entities
{
public struct EntitiesPed
{
public LVector3 Position { get; set; }
public bool IsInRangeOf(LVector3 position, float distance)
{
return LVector3.Subtract(Position, position).Length() < distance;
}
}
}