Graphics::drawLightWithRange: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.drawLightWithRange(posX, posY, posZ, colorR, colorG, colorB, range, intensity);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.drawLightWithRange(posX, posY, posZ, colorR, colorG, colorB, range, intensity);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''posX:''' float
*'''posX:''' float
Line 15: Line 15:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:27, 6 May 2017

Syntax

mp.game.graphics.drawLightWithRange(posX, posY, posZ, colorR, colorG, colorB, range, intensity);

Required Arguments

  • posX: float
  • posY: float
  • posZ: float
  • colorR: int
  • colorG: int
  • colorB: int
  • range: float
  • intensity: float

Return value

  • Undefined

Example

// todo

See also