Garry's Mod Wiki

Garry's Mod Wiki

  Player:SetDrivingEntity( Entity drivingEntity = NULL, number drivingMode )

Description

This is used internally - although you're able to use it you probably shouldn't.

Sets the driving entity and driving mode.

Use drive.PlayerStartDriving instead, see Entity Driving.

Arguments

1 Entity drivingEntity = NULL
The entity the player should drive.
2 number drivingMode
The driving mode index.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...