Garry's Mod Wiki

Revision Difference

GM:EndEntityDriving#552900

<function name="EndEntityDriving" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Called right before an entity stops driving. Overriding this hook will cause it to not call <page>drive.End</page> and the player will not stop driving.</description> <realm>Shared</realm> <predicted>No</predicted>⤶ <args> <arg name="ent" type="Entity">The entity being driven</arg> <arg name="ply" type="Player">The player driving the entity</arg> </args> </function>