Object::createGlowStyle

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • freq: number
  • minIntensity: number
  • maxIntensity: number

Return value

  • number (glowStyle id)

Syntax

const glowStyle = mp.game.object.createGlowStyle(freq, minIntensity, maxIntensity);

Example

const glow = mp.game.object.createGlowStyle(2.0, 0.3, 1.0);


See also

  • [[Object::disableGlow|mp.game.object.disableGlow