new Vec3

Revision as of 18:23, 15 June 2026 by Mex (talk | contribs) (Created page with "{{ScriptItem2 |name = new Vec3 |side = shared |type = function |class = Vec3 |games = iii vc sa iv |desc = create a 3D vector |arg1 = float x The X value for the 3D vector. |arg2 = float y The Y value for the 3D vector. |arg3 = float z The Z value for the 3D vector. |return = Vec3 a 3D vector object }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Server and Client GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0
Vec3 new Vec3(float x, float y, float z)
The new Vec3 function is used to create a 3D vector.

Parameters

1) float x The X value for the 3D vector.
2) float y The Y value for the 3D vector.
3) float z The Z value for the 3D vector.

Return

Vec3 A 3D vector object.

Types

Shared Vec3

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.