try fix blip Colors

This commit is contained in:
Lukas Moungos
2019-12-15 14:02:51 +01:00
parent c90420ec16
commit ce2b2f284e
3 changed files with 5 additions and 9 deletions

View File

@@ -58,8 +58,6 @@ namespace ReallifeGamemode.Server.Events
player.SetData("editmode", false);
player.SetData("quicksavemode", "none");
}
if(user.Faction != null)
{
switch (user.Faction.Name)
{
case "Ballas":
@@ -72,7 +70,7 @@ namespace ReallifeGamemode.Server.Events
player.SetSharedData("blipColor", 5);
break;
}
}
var userBankAccount = user.GetBankAccount();
userBankAccount.Balance = userBankAccount.Balance;