Scripting/Client/Functions/Vector
Class with fields x y z. Accepted anywhere a position is required.
Syntax
Vector(x, y, z)Arguments
- float x
- float y
- float z
Example
function onScriptLoad()
{
local pos = player.Pos;
Vector( pos.x, pos.y, pos.z );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- Colour
- VectorScreen
- GetDistance
- GetTok
- IsIn
- InPoly
- GetTime
- date
- GetVehicleModel
- GetVehicleName
- NewTimer
- HashTable
Section: Utility
Categories: Client functions | Utility