RAGE.Elements.Checkpoint: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 17: Line 17:
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
new Rage.Element.Checkpoint(hash, position, radius, direction, color, isVisible, dimension)
new RAGE.Elements.Checkpoint(hash, position, radius, direction, color, isVisible, dimension)
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 19:41, 20 August 2024

Client-Side
Function

 C#



C# Syntax

Create a checkpoint

Required Params

  • hash: uint
  • position: Vector3
  • radius: float
  • direction: Vector3
  • color: RGBA
  • isVisible: bool
  • dimension: uint

Return value

  • int

Syntax

new RAGE.Elements.Checkpoint(hash, position, radius, direction, color, isVisible, dimension)

Example

//todo


See also