Garry's Mod Wiki

Revision Difference

Player:ExitVehicle#512604

<function name="ExitVehicle" parent="Player" type="classfunc"> <description>Makes the player exit the vehicle if they're in one.</description> <realm>Server</realm> </function> <example> <description>Make player 1 leave his vehicle if he's driving one.</description> <code>Entity(1):ExitVehicle()</code> <output>Player 1 will exit the the vehicle he's currently in.</output> </example>