admin unshow und tsupport links anzeigen

This commit is contained in:
hydrant
2021-04-19 21:16:15 +02:00
parent a9882992c3
commit e30f1bb7f3
6 changed files with 117 additions and 15 deletions

View File

@@ -345,8 +345,14 @@ namespace ReallifeGamemode.Server.Extensions
}
bool duty = user.GetData<bool>("duty");
bool adminUnshow = user.GetData<bool>("adminUnshow");
if (player.GetData<bool>("SAdminduty"))
if(adminUnshow)
{
blipColor = -1;
nameTagColor = -3;
}
else if (player.GetData<bool>("SAdminduty"))
{
blipColor = 30;
nameTagColor = -2;