Added Blip Color on /ainvite and /makeleader

This commit is contained in:
Lukas Moungos
2019-12-15 16:22:43 +01:00
parent afa3348854
commit b4f4bb4622
2 changed files with 36 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ namespace ReallifeGamemode.Server.Wanted
int timeMinutes = 0;
if (((int)(user.JailTime / 60)) == 0 && user.JailTime != 0)
if (((int)(user.JailTime / 60)) <= 1 && user.JailTime != 0)
{
timeMinutes = 1;
}
@@ -186,7 +186,8 @@ namespace ReallifeGamemode.Server.Wanted
if (user.JailTime <= 0)
{
Jailtime.Remove(user.Id);
player.Position = new Vector3(461.7256, -988.6035, 24.91487);
player.Position = new Vector3(461.7256, -988.6035, 24.91487);
player.TriggerEvent("jailTime", 0);
return;
}
if (user.JailTime > 0)