[+] Add Duty Points and Weapon Points for various Factions

Fixed minor stuff
This commit is contained in:
Lukas Moungos
2019-07-22 22:04:58 +02:00
parent 0a5dbb12d6
commit 0bcf1542d1
6 changed files with 34 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ namespace ReallifeGamemode.Server.Wanted
User user = client.GetUser();
if (user.JailTime > 0)
{
client.SetSharedData("blipColor", 4);
client.SetSharedData("blipColor", 0);
client.RemoveAllWeapons();
client.Health = 100;
client.Armor = 0;
@@ -61,6 +61,7 @@ namespace ReallifeGamemode.Server.Wanted
}
client.SetData("isDead", false);
client.RemoveAllWeapons();
client.SetSharedData("blipColor", 0);
Random rnd = new Random();
int rndInt = rnd.Next(1, 3);
if (rndInt == 1)