natives.DRAW SPHERE: Difference between revisions
Jump to navigation
Jump to search
ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = vc |type = function |name = natives.DRAW_SPHERE |parameters = Vec3 position, float radius |parameter1 = Vec3 position World coordinates where the sphere is drawn (x, y, z) |parameter2 = float radius Sphere radius/size |usage = Draw a solid sphere at a specific world position in Vice City |notes = The sphere is rendered in a default pink color and does not accept custom RGB values. |return1 = void |returnFail1 = void |exampleJS = a...") |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 5: | Line 5: | ||
|name = natives.DRAW_SPHERE | |name = natives.DRAW_SPHERE | ||
|parameters = Vec3 position, float radius | |parameters = Vec3 position, float radius | ||
|parameter1 = Vec3 position | |parameter1 = Vec3 position Race position. | ||
|parameter2 = float radius Sphere radius | |parameter2 = float radius Sphere or area radius. | ||
|usage = | |usage = renders a wireframe sphere for debugging purposes | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 11:49, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.DRAW_SPHERE(Vec3 position, float radius)
The natives.DRAW_SPHERE function is used to renders a wireframe sphere for debugging purposes.
Parameters
| 1) | Vec3 | position | Race position. |
| 2) | float | radius | Sphere or area radius. |
Return
| void | This function doesn't return a value. |
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.
Related
Client Related
gta.createSphere