RAGE.Elements.Checkpoint: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with " {{ClientsideCsFunction}} {{CSharpContainer| ===Required Params=== *'''hash:''' {{RageType|uint}} *'''position:''' {{RageType|Vector3}} *'''radius:''' {{RageType|float}} *'''direction:''' {{RageType|Vector3}} *'''color:''' {{RageType|RGBA}} *'''isVisible:''' {{RageType|bool}} *'''dimension:''' {{RageType|uint}} ===Return value=== *''' {{RageType|int}} ''' ==Syntax== <syntaxhighlight lang="javascript"> Rage.Element.Checkpoint(hash, position, radius, direction, color, i...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ClientsideCsFunction}}
{{ClientsideCsFunction}}
{{CSharpContainer|
{{CSharpContainer|
Create a checkpoint


===Required Params===
===Required Params===
Line 17: Line 17:
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
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