Garry's Mod Wiki

Garry's Mod Wiki

  ENTITY:OnChangeActiveWeapon( Weapon old, Weapon new )

Description

Called when the currently active weapon of the SNPC changes.

This hook only works on ai type entities.

Arguments

1 Weapon old
The previous active weapon.
2 Weapon new
The new active weapon.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...