Squirrel/Server/Functions/Blips/Pos
From Liberty Unleashed Wiki
(Difference between revisions)
m (moved Squirrel/Functions/Blips/Pos to Squirrel/Server/Functions/Blips/Pos: Server-side function) |
|||
Line 1: | Line 1: | ||
− | {{Squirrel/Title| | + | {{Squirrel/Title|Vehicle.SpawnAngle}} |
− | This '' | + | This ''Vehicle'' class member returns or sets the spawn angle of the vehicle. The vehicle's z-rotation will be set to this value when it spawns. |
== Syntax == | == Syntax == | ||
+ | |||
You can either return or set a new value using this member: | You can either return or set a new value using this member: | ||
− | <code> | + | <code>float Vehicle.SpawnAngle</code> |
− | <code> | + | <code>Vehicle.SpawnAngle = float angle</code> |
== Arguments == | == Arguments == | ||
− | * ''' | + | * '''angle''' - This is the new spawn angle |
== Example 1. Returning the value == | == Example 1. Returning the value == | ||
Line 35: | Line 36: | ||
== Related Functions == | == Related Functions == | ||
− | {{Squirrel/Server/Functions/ | + | {{Squirrel/Server/Functions/Vehicles}} |
Revision as of 00:47, 27 September 2010
This Vehicle class member returns or sets the spawn angle of the vehicle. The vehicle's z-rotation will be set to this value when it spawns.
Syntax
You can either return or set a new value using this member:
float Vehicle.SpawnAngle
Vehicle.SpawnAngle = float angle
Arguments
- angle - This is the new spawn angle
Example 1. Returning the value
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
Example notes and used functions here.
Example 2. Setting a new value
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
Example notes and used functions here.
Related Functions
- CreateVehicle
- FindVehicle
- GetClosestVehicle
- GetVehicleCount
- GetVehicleHandlingData
- GetVehicleIDFromName
- GetVehicleName
- SetVehicleHandlingData
- Vehicle.Alpha
- Vehicle.Angle
- Vehicle.Colour1
- Vehicle.Colour2
- Vehicle.Driver
- Vehicle.EngineDamage
- Vehicle.Explode
- Vehicle.Fix
- Vehicle.GetAddon
- Vehicle.GetPassenger
- Vehicle.GetHandlingData
- Vehicle.GetWheelStatus
- Vehicle.Health
- Vehicle.ID
- Vehicle.IdleRespawnTime
- Vehicle.IdleTime
- Vehicle.LightState
- Vehicle.Locked
- Vehicle.Marker
- Vehicle.MarkerScale
- Vehicle.MarkerSprite
- Vehicle.Model
- Vehicle.OneTime
- Vehicle.PassengerCount
- Vehicle.Pos
- Vehicle.Remove
- Vehicle.Respawn
- Vehicle.RespawnTime
- Vehicle.RGBColour1
- Vehicle.RGBColour2
- Vehicle.SetHandlingData
- Vehicle.SetWheelStatus
- Vehicle.SpawnAngle
- Vehicle.SpawnPos
- Vehicle.SetAddon
- Vehicle.SetEngineState
- Vehicle.SetRadio
- Vehicle.Siren
- Vehicle.SirenLight
- Vehicle.TaxiLight
- Vehicle.Velocity
- Vehicle.VirtualWorld
- Vehicle.Wrecked