Garry's Mod Wiki

Revision Difference

GM:VehicleMove#511202

<function name="VehicleMove" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called when you are driving a vehicle. This hook works just like <page>GM:Move</page>.⤶ ⤶ This hook is called before <page>GM:Move</page> and will be called when <page>GM:PlayerTick</page> is not.⤶ </description>⤶ <realm>Shared</realm>⤶ <predicted>Yes</predicted>⤶ <hidepredictionwarning>No</hidepredictionwarning>⤶ <args>⤶ <arg name="ply" type="Player">Player who is driving the vehicle</arg>⤶ <arg name="veh" type="Vehicle">The vehicle being driven</arg>⤶ <arg name="mv" type="CMoveData">Move data</arg>⤶ </args>⤶ </function>⤶ ⤶