Revision Difference
Player:EnterVehicle#560240
<function name="EnterVehicle" parent="Player" type="classfunc">
	<description>Enters the player into specified vehicle</description>⤶
	<description>Force puts the player into a specified vehicle.⤶
This bypasses <page>GM:CanPlayerEnterVehicle</page>.⤶
</description>⤶
	<realm>Server</realm>
	<args>
		<arg name="vehicle" type="Vehicle">Vehicle the player will enter</arg>
	</args>
</function>
<example>
	<description>Enters the player into the vehicle they're looking at</description>
	<code>
local jeep = Entity( 1 ):GetEyeTrace().Entity
Entity( 1 ):EnterVehicle( jeep )
	</code>
</example>
			Garry's Mod 
		
			Rust 
		
			Steamworks 
		
			Wiki Help