offload weapon/ammo counter update commands to the generic damagemodel

This commit is contained in:
AzaezelX 2025-12-28 14:19:17 -06:00
parent 7cad861536
commit 53ad8ccc6d
3 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,12 @@
// ----------------------------------------------------------------------------
// weapon HUD
// ----------------------------------------------------------------------------
function GameConnection::setAmmoAmountHud(%client, %amount, %amountInClips )
{
commandToClient(%client, 'SetAmmoAmountHud', %amount, %amountInClips);
}
function GameConnection::RefreshWeaponHud(%client, %amount, %preview, %ret, %zoomRet, %amountInClips)
{
commandToClient(%client, 'RefreshWeaponHud', %amount, %preview, %ret, %zoomRet, %amountInClips);
}