Scripting/Squirrel/Functions/Vehicles/SpawnPos
From VC-MP Wiki
NOTE: This function has been modified in VC:MP 0.3z r2. It may work as in previous versions, and offer additional functionality.
This instance variable returns or sets the spawn position of the vehicle. Note: Since R2 it has been possible to also set the respawn position.
Syntax
Vector Vehicle.SpawnPos Vehicle.SpawnPos = Vector vNewPos
Example 1. Returning
This function needs an example. You can help us complete the wiki by writing one, or maybe even two :o
TODO
Notes
TODO - Example notes and used functions
Example 2. Setting
This function needs an example. You can help us complete the wiki by writing one, or maybe even two :o
TODO
Notes
TODO - Example notes and used functions
Related Functions
- CreateVehicle
- FindVehicle
- GetVehicleCount
- GetVehicleModelFromName
- GetVehicleNameFromModel
- Vehicle.Alarm
- Vehicle.Angle
- Vehicle.Colour1
- Vehicle.Colour2
- Vehicle.Driver
- Vehicle.Fix
- Vehicle.Health
- Vehicle.ID
- Vehicle.IsLocked
- Vehicle.KillEngine
- Vehicle.Lights
- Vehicle.Model
- Vehicle.Pos
- Vehicle.Respawn
- Vehicle.RespawnAs
- Vehicle.RespawnAt
- Vehicle.SetFlatTyres
- Vehicle.SpawnPos
- Vehicle.SpawnAngle
- Vehicle.Velocity
- Vehicle.Remove
