CreateFireworks: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|CreateFireworks(modelid, x, y, z, rx, ry, rz)}} <div class="noprint" style="float:right;"> File:f...")
 
No edit summary
Line 8: Line 8:
</div>
</div>
{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|modelid|Id for fireworks preset.}}
{{FuncParam|modelid|Id for fireworks preset (1-13).}}
{{FuncParam|x|World X location.}}
{{FuncParam|x|World X location.}}
{{FuncParam|y|World Y location.}}
{{FuncParam|y|World Y location.}}

Revision as of 09:05, 8 October 2019

CreateFireworks

Type: Function
Context: Client
Introduced: v1.0

Description

__EDIT_ME__

Syntax

CreateFireworks(modelid, x, y, z, rx, ry, rz)

Parameters

  • modelid
    Id for fireworks preset (1-13).
  • x
    World X location.
  • y
    World Y location.
  • z
    World Z location.
  • rx
    Pitch rotation. Should be 90 to have the fireworks shoot up.
  • ry
    Yaw rotation.
  • rz
    Roll rotation.

Return Value

  • Returns true on success.

Example

__EDIT_ME__

See also

__EDIT_ME__