Squirrel/Server/Functions/Players/EnterVehicle

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|Player.EnterVehicle}} {{ScriptingChangesIn0.1.0.9}} This ''Player'' class function will force the player to enter a vehicle with the entering animation. Note tha…')

Revision as of 03:17, 15 April 2011

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

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox