Enter Vehicle

Level Object
Server Side
Both Mobile and PC

Forces the target player to enter the specified vehicle

Declaration

func EnterVehicle(player entity<Player>, vehicle entity<Vehicle>, seat SeatType, out var isSuccess bool)
go

Parameters

Input

Name Type Description
Player Player Target Player
Vehicle Vehicle Vehicle Entity
Seat SeatType Seat Number

Out

Name Type Description
Is Success Bool Whether makes the player enter the vehicle successfully