Vehicle.Alpha

From Liberty Unleashed Wiki
Revision as of 05:58, 22 June 2015 by ClashJTM (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This Vehicle class member variable sets/returns the alpha of the vehicle. Note that setting the alpha value can be tricky and it can cause unexpected effects on most vehicle models (such as unaffected wheels).

Syntax

  1. int Vehicle.Alpha
  1. Vehicle.Alpha = int alpha

Arguments

  • alpha - The alpha value you wish to set (0...255)

Example 1. Returning

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

same as pPlayer.Alpha :D im too lazy:P

  1.  
  2. -- todo
  3.  

Notes

-- List of used functions and other notes here.

Example 2. Setting

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

Some explanation here too

  1.  
  2. -- todo
  3.  

Notes

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox