Vehicle:Enter

Vehicle:Enter(vehicle: Entity, player: Player)

Parameters

Name Type Description
vehicle Entity
player Player

Example

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