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 activity to translate

Returns

1 number
The translated activity