Native referenceRedM

VMAG2

0xA8CEACB4F35AE058 BUILTIN
FUNCTION SIGNATURE
float VMAG2(float x, float y, float z);
Property Value
Native Name VMAG2
Hash 0xA8CEACB4F35AE058
Return Type float
Build 1207
Parameters x (float), y (float), z (float)

Description: ``` Calculates the magnitude of a vector but does not perform Sqrt operations. (Its way faster)


### Usage

**Lua (Direct):**
```lua
local result = Vmag2(x, y, z)

Lua (Hash):

local result = Citizen.InvokeNative(0xA8CEACB4F35AE058, x, y, z)
Back to BUILTIN