Graphics::drawDebugLineWithTwoColours: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
NOTE: Debugging functions are not present in the retail version of the game.==Syntax==<syntaxhighlight lang="javascript">graphics.drawDebugLineWithTwoColours(x1, y1, z1, x2, y2, z2, r1, g1, b1, r2, g2, b2, alpha1, alpha2);</syntaxhighlight>=== Required Arguments ===*'''x1:''' float*'''y1:''' float*'''z1:''' float*'''x2:''' float*'''y2:''' float*'''z2:''' float*'''r1:''' int*'''g1:''' int*'''b1:''' int*'''r2:''' int*'''g2:''' int*'''b2:''' int*'''alpha1:''' int*'''alpha2:''' int===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Graphics_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
NOTE: Debugging functions are not present in the retail version of the game.
==Syntax==
<syntaxhighlight lang="javascript">mp.game.graphics.drawDebugLineWithTwoColours(x1, y1, z1, x2, y2, z2, r1, g1, b1, r2, g2, b2, alpha1, alpha2);</syntaxhighlight>
=== Required Arguments ===
*'''x1:''' float
*'''y1:''' float
*'''z1:''' float
*'''x2:''' float
*'''y2:''' float
*'''z2:''' float
*'''r1:''' int
*'''g1:''' int
*'''b1:''' int
*'''r2:''' int
*'''g2:''' int
*'''b2:''' int
*'''alpha1:''' int
*'''alpha2:''' int
===Return value===
*'''Undefined'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Latest revision as of 21:27, 6 May 2017

NOTE: Debugging functions are not present in the retail version of the game.

Syntax

mp.game.graphics.drawDebugLineWithTwoColours(x1, y1, z1, x2, y2, z2, r1, g1, b1, r2, g2, b2, alpha1, alpha2);

Required Arguments

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float
  • r1: int
  • g1: int
  • b1: int
  • r2: int
  • g2: int
  • b2: int
  • alpha1: int
  • alpha2: int

Return value

  • Undefined

Example

// todo

See also