Difference between revisions of "OnPlayerStartEnterVehicle"

From Onset Developer Wiki
(Created page with "{{Info|Event|Client|1.0}} {{FuncDescription|Called when a player presses the key to start entering a vehicle. You can return '''false''' in this event to stop the player from...")
(No difference)

Revision as of 11:24, 8 October 2019

OnPlayerStartEnterVehicle

Type: Event
Context: Client
Introduced: v1.0

Description

Called when a player presses the key to start entering a vehicle. You can return false in this event to stop the player from entering.

Syntax

OnPlayerStartEnterVehicle(vehicle)
  • vehicle
    The vehicle identifier.

Example

__EDIT_ME__

See also

Game

Vehicle

Player

Weapon

Parachuting

Key

NPC

Object

Package

Pickup

Text

Vehicle

Web UI

Sound

Network