gta.createSphere

From GTA Connected
Jump to navigation Jump to search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Marker gta.createSphere(Vec3 position, float radius)

Description

The gta.createSphere function is used to create a sphere.

Parameters

Type Name Presence Default Value Description
Vec3
position
required n/a The 3D position for the sphere.
float
radius
required n/a The radius of the sphere.

Returns

Success Returns

Type Description
Marker
A handle to the marker that was created.

Failure Returns

Type Value
null
n/a

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

  • This function was previously named game.createSphere in version 1.0.71.

Related

Server Related

gta.createSphere


Client Related

gta.createSphere