Garry's Mod Wiki

Entity:Weapon_TranslateActivity

  number Entity:Weapon_TranslateActivity( number act )

Description

Calls and returns WEAPON:TranslateActivity on the weapon the entity ( player or NPC ) carries.

Despite existing on client, it doesn't actually do anything on client.

Arguments

1 number act
The NPC activity to translate

Returns

1 number
The translated activity. Defaults to act input when a translation doesn't exist.