ammunation logs
This commit is contained in:
@@ -130,6 +130,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
player.SendNotification("Du hast nicht genügend Geld bei dir");
|
||||
return;
|
||||
}
|
||||
logger.LogInformation("Player {0} bought a {1} in ammunation", user.Name, weaponmodel);
|
||||
user.Handmoney -= price;
|
||||
dbContext.SaveChanges();
|
||||
player.GiveWeapon(NAPI.Util.WeaponNameToModel(weaponmodel), ammo);
|
||||
|
||||
Reference in New Issue
Block a user