Player/SetDrivingEntity

From Garry's Mod
Jump to: navigation, search
 Player:SetDrivingEntity( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

Sets the driving entity and driving mode.

Use drive.PlayerStartDriving instead, see Entity Driving.

Arguments

Entity drivingEntity=NULL

The entity the player should drive.

Arguments

number drivingMode

The driving mode index.
Personal tools
Navigation