WeaponFireCallback
Library that allows mods to know when a weapon fires
Last updated | a year ago |
Total downloads | 549 |
Total rating | 0 |
Categories | Mods Server-side Client-side |
Dependency string | ToneAPI-WeaponFireCallback-0.0.1 |
Dependants | 0 other packages depend on this package |
README
WeaponFireCallbacks
Provides WeaponFireCallbacks_AddCallbackOnWeaponFired
, WeaponFireCallbacks_AddCallbackOnWeaponClassFired
, WeaponFireCallbacks_RemoveCallbackOnWeaponClassFired
, WeaponFireCallbacks_AddCallbackOnOwnerClassFired
, and WeaponFireCallbacks_RemoveCallbackOnOwnerClassFired
Use
WeaponFireCallbacks_AddCallbackOnWeaponFired( entity weapon, void functionref( entity weapon, WeaponPrimaryAttackParams attackParams, var ammoUsed ) callback )
WeaponFireCallbacks_AddCallbackOnWeaponClassFired( string weaponClass, void functionref( entity weapon, WeaponPrimaryAttackParams attackParams, var ammoUsed ) callback )
WeaponFireCallbacks_RemoveCallbackOnWeaponClassFired( string weaponClass, void functionref( entity weapon, WeaponPrimaryAttackParams attackParams, var ammoUsed ) callback )
WeaponFireCallbacks_AddCallbackOnOwnerClassFired( string ownerClass, void functionref( entity weapon, WeaponPrimaryAttackParams attackParams, var ammoUsed ) callback )
WeaponFireCallbacks_RemoveCallbackOnOwnerClassFired( string ownerClass, void functionref( entity weapon, WeaponPrimaryAttackParams attackParams, var ammoUsed ) callback )