Begin weaponschein

This commit is contained in:
hydrant
2020-03-09 20:56:51 +01:00
parent baba3e1ae2
commit 6965875406
12 changed files with 156 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Text;
using GTANetworkAPI;
using ReallifeGamemode.Server.Core.API;
namespace ReallifeGamemode.Server.Core.RageMP
{
public class RageMarkerAPI : IMarkerAPI
{
public IMarker CreateMarker(Types.MarkerType markerType, Position position, Position direction, Position rotation, float scale, API.Color color)
{
Marker rageMarker = NAPI.Marker.CreateMarker(
(int)markerType,
position.ToVector3(),
direction.ToVector3(),
rotation.ToVector3(),
scale,
color.ToColor());
return new RageMarker(rageMarker);
}
}
}