natives.ADD SPHERE: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(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...")
 
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
{{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 = addEventHandler("OnDrawnHUD", function() {
    natives.DRAW_SPHERE(new Vec3(-592.0, 670.0, 11.0), 2.0)
});
}}

Revision as of 02:56, 27 November 2025