Garry's Mod Wiki

Player:SetDrivingEntity

Player:SetDrivingEntity

  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.

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7