Garry's Mod Wiki

Revision Difference

Entity:Weapon_TranslateActivity#514600

<function name="Weapon_TranslateActivity" parent="Entity" type="classfunc">⤶ <description>⤶ Calls and returns <page>WEAPON:TranslateActivity</page> on the weapon the entity ( player or NPC ) carries.⤶ ⤶ Despite existing on client, it doesn't actually do anything on client.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="act" type="number">The activity to translate</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">The translated activity</ret>⤶ </rets>⤶ </function>⤶ ⤶