Player:SpawnAtVehicle

Player:SpawnAtVehicle(player: Player, vehicle: Entity)

Parameters

Name Type Description
player Player
vehicle Entity

Example

Events:Subscribe('Player:SpawnAtVehicle', function(player, vehicle)
    -- Do stuff here.
end)
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)