RAGE.Elements.Checkpoint: Difference between revisions
(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 |
||
| 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.Element.Checkpoint(hash, position, radius, direction, color, isVisible, dimension) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 11:21, 12 May 2024
Client-Side Function
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.Element.Checkpoint(hash, position, radius, direction, color, isVisible, dimension)
Example
//todo