Player/ExitVehicle

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

Description

Makes the player exit the vehicle if they're in one.

Examples

Example

Make player 1 leave his vehicle if he's driving one.

Entity(1):ExitVehicle()

Output:

Player 1 will exit the the vehicle he's currently in.
Personal tools
Navigation