New nametag rendering

This commit is contained in:
Sardelka9515
2023-03-15 15:58:03 +08:00
parent fd4b5f8afb
commit 920b5d15ba
5 changed files with 30 additions and 20 deletions

View File

@ -1,6 +1,7 @@
using System.Collections.Generic;
using GTA;
using GTA.Math;
using LemonUI.Elements;
using RageCoop.Core;
namespace RageCoop.Client
@ -20,6 +21,7 @@ namespace RageCoop.Client
private bool _lastRagdoll;
private ulong _lastRagdollTime;
private Dictionary<uint, bool> _lastWeaponComponents;
private ScaledText _nameTag;
internal Entity WeaponObj;
internal BlipColor BlipColor = (BlipColor)255;
internal float BlipScale = 1;