Player.EnterVehicle

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This Player class function will force the player to enter a vehicle with the entering animation. Note that the vehicle must be spawned for that player and within a 10 metres radius of them.

Syntax

  1. bool Player.EnterVehicle( Vehicle vehicle, int door )

Arguments

  • vehicle - The vehicle this player should enter
  • door - The door to use

Example

Some explanation here

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- todo

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox