Add changes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Server.Core.API;
|
||||
using ReallifeGamemode.Server.Core.API.API;
|
||||
|
||||
@@ -10,12 +11,14 @@ namespace ReallifeGamemode.Server.Core.RageMP
|
||||
{
|
||||
public IColShape CreateCyclinder(Position position, float height, float range)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
var colShape = NAPI.ColShape.CreateCylinderColShape(position.ToVector3(), range, height);
|
||||
return new RageColShape(colShape);
|
||||
}
|
||||
|
||||
public IColShape CreateSphere(Position position, float range)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
var colShape = NAPI.ColShape.CreateSphereColShape(position.ToVector3(), range);
|
||||
return new RageColShape(colShape);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user