Garry's Mod Wiki

Player:SetDrivingEntity

void 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.

Page Links


Special Pages


Wikis

?

Render Time: 24ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 10
Render Body 0
Render Sidebar 7