public void CreateMarker(int type, MultiVShared.Vector3 position, MultiVShared.Vector3 rotation, MultiVShared.Vector3 dir, MultiVShared.Vector3 scale, int r, int g, int b, int a, int netHandle) { if (!Markers.ContainsKey(netHandle)) { Markers.Add(netHandle, new MarkerProperties() { MarkerType = type, Position = position, Rotation = rotation, Direction = dir, Scale = scale, Red = r, Green = g, Blue = b, Alpha = (byte)a, }); } }
public static GTA.Math.Vector3 ToVector(this MultiVShared.Vector3 v) { return(new GTA.Math.Vector3(v.X, v.Y, v.Z)); }