- Documentation
- Client functions
- createColCube
Function
createColCube
Creates a client cube zone centred at (x, y, z) with the given side length.
Syntax
colshape createColCube(float x, float y, float z, float size)Arguments
xfloat- Centre X.
yfloat- Centre Y.
zfloat- Centre Z.
sizefloat- Side length.
Returns
The new zone.
Example
local box = createColCube(0, 0, 5, 4)