change weaponAmmo & add WeaponStock at WeaponMenu
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Database.Entities;
|
||||
using ReallifeGamemode.Database.Models;
|
||||
@@ -67,8 +67,8 @@ namespace ReallifeGamemode.Server.Events
|
||||
melee = NAPI.Util.GetHashKey($"weapon_{meleeModel}");
|
||||
}
|
||||
|
||||
client.GiveWeapon((WeaponHash)primary, 50);
|
||||
client.GiveWeapon((WeaponHash)secondary, 150);
|
||||
client.GiveWeapon((WeaponHash)primary, 300);
|
||||
client.GiveWeapon((WeaponHash)secondary, 100);
|
||||
client.GiveWeapon((WeaponHash)melee, 1);
|
||||
if (specialModel != "Schutzweste")
|
||||
{
|
||||
@@ -78,11 +78,11 @@ namespace ReallifeGamemode.Server.Events
|
||||
if (specialModel.Contains("mk2") && !specialModel.Contains("_mk2")) specialModel = specialModel.Replace("mk2", "_mk2");
|
||||
special = NAPI.Util.GetHashKey($"weapon_{specialModel}");
|
||||
}
|
||||
client.GiveWeapon((WeaponHash)special, 50);
|
||||
client.GiveWeapon((WeaponHash)special, 30);
|
||||
}
|
||||
else
|
||||
{
|
||||
client.Armor = 50;
|
||||
client.Armor = 100;
|
||||
}
|
||||
|
||||
using (var context = new DatabaseContext())
|
||||
|
||||
Reference in New Issue
Block a user