CreateFireworks: Difference between revisions

From Onset Developer Wiki
No edit summary
28days (talk | contribs)
No edit summary
Line 22: Line 22:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
*[[CreateExplosion]]
*[[CreateFireworks]]

Revision as of 19:45, 18 November 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.0 to have the fireworks shoot up.
  • ry
    Yaw rotation.
  • rz
    Roll rotation.

Return Value

  • Returns true on success.

Example

__EDIT_ME__

See also