Skip to content

Smart Ammo

void SetCustomSmartAmmoTarget( entity ent, bool target )

void SetPreventSmartAmmoLock( entity ent, bool lockable )

void SetSmartAmmoLockFromTitansOnly( entity ent, bool titanLockOnly )

void SmartAmmo_SetCustomFractionSource( entity ent, entity src, number fraction )

void SmartAmmo_ClearCustomFractionSource( entity ent, entity src )

float SmartAmmo_GetCustomFractionSource( entity ent, entity src )

int SmartAmmo_GetMaxTargetedBurst( entity weapon )

float SmartAmmo_GetTargetingTime( entity ent, entity src )

int SmartAmmo_GetTargetMaxLocks( entity ent, entity src )

bool SmartAmmo_IsTrackingEntity( entity weapon, entity target )

bool SmartAmmo_IsValidTarget( entity weapon, entity target )