Squirrel/Server/Functions/Vehicles/Locked

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|Vehicle.Locked}} This ''Vehicle'' class member returns whether the vehicle's doors are locked or locks/unlocks the doors. == Syntax == You can either return or…')

Revision as of 00:28, 29 September 2010

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This Vehicle class member returns whether the vehicle's doors are locked or locks/unlocks the doors.

Syntax

You can either return or set a new value using this member:

  1. bool Vehicle.Locked
  1. Vehicle.Locked = bool locked

Arguments

  • locked - A boolean representing whether the vehicles doors should be locled (true) or unlocked (false)

Example 1. Returning

-- Example 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

--Example notes and used functions here.

Example 2. Setting

-- Example 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

--Example notes and used functions here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox