Scripting/Squirrel/Functions/Vehicles/SpawnPos

From VC-MP Wiki

Jump to: navigation, search

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

Personal tools
squirrel scripting