natives.ADD SPHERE: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Blanked the page)
Tag: Blanking
No edit summary
 
Line 1: Line 1:
 
{{ScriptItem
|endpoint = client
|games = vc
|type = function
|name = natives.ADD_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.ADD_SPHERE(new Vec3(-592.0, 670.0, 11.0), 2.0)
});
}}
58

edits

Navigation menu