add airmakes faction changes (wt)
This commit is contained in:
@@ -361,6 +361,8 @@ namespace ReallifeGamemode.Server.Events
|
||||
int Pumpshotgun_Amount = 0;
|
||||
int Schutzweste_Amount = 0;
|
||||
int Stungun_Amount = 0;
|
||||
int CombatPDW_Amount = 0;
|
||||
int Assaultrifle_Amount = 0;
|
||||
string dealTime = "Starten";
|
||||
primarys.Add("Keine");
|
||||
secondarys.Add("Keine");
|
||||
@@ -489,10 +491,18 @@ namespace ReallifeGamemode.Server.Events
|
||||
{
|
||||
Stungun_Amount = weapon.Ammount;
|
||||
}
|
||||
else if (weapon.WeaponModel == "assaultrifle")
|
||||
{
|
||||
Assaultrifle_Amount = weapon.Ammount;
|
||||
}
|
||||
else if (weapon.WeaponModel == "CombatPDW")
|
||||
{
|
||||
CombatPDW_Amount = weapon.Ammount;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
player.TriggerEvent("showWeaponMenu", primarys.ToArray(), secondarys.ToArray(), melees.ToArray(), specials.ToArray(), armor.ToArray(), JsonConvert.SerializeObject(timer.ToArray()), pistol_Amount.ToString(), pistol50_Amount.ToString(), Pistol_mk2_Amount.ToString(), Combatpistol_Amount.ToString(), SMG_Amount.ToString(), Carbinerifle_Amount.ToString(), Compactrifle_Amount.ToString(), sniperrifle_Amount.ToString(), Pumpshotgun_Amount.ToString(), Schutzweste_Amount.ToString(), Stungun_Amount.ToString()); ;
|
||||
player.TriggerEvent("showWeaponMenu", primarys.ToArray(), secondarys.ToArray(), melees.ToArray(), specials.ToArray(), armor.ToArray(), JsonConvert.SerializeObject(timer.ToArray()), pistol_Amount.ToString(), pistol50_Amount.ToString(), Pistol_mk2_Amount.ToString(), Combatpistol_Amount.ToString(), SMG_Amount.ToString(), Carbinerifle_Amount.ToString(), Compactrifle_Amount.ToString(), sniperrifle_Amount.ToString(), Pumpshotgun_Amount.ToString(), Schutzweste_Amount.ToString(), Stungun_Amount.ToString(), CombatPDW_Amount.ToString(), Assaultrifle_Amount.ToString()); ;
|
||||
}
|
||||
if (nearestJailReleasePoint != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user