Garry's Mod Wiki


  GM:StartEntityDriving( Entity ent, Player ply )


Called right before an entity starts driving. Overriding this hook will cause it to not call drive.Start and the player will not begin driving the entity.


1 Entity ent
The entity that is going to be driven
2 Player ply
The player that is going to drive the entity