Checkpoint::Checkpoint: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 15: Line 15:
<div style="margin: 10px 10px 10px 10px;"><b>Server-Side</b></div>
<div style="margin: 10px 10px 10px 10px;"><b>Server-Side</b></div>
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
mp.checkpoints.new(type, position, rotation, direction, radius, red, green, blue, alpha[, visible, dimension])
mp.checkpoints.new(type, position, direction, radius, red, green, blue, alpha[, visible, dimension])
</syntaxhighlight>
</syntaxhighlight>
</div>
</div>

Revision as of 16:46, 2 June 2017

Creating new checkpoints

Parameters

  • type: Number
  • position: Vector3
  • direction: Vector3
  • radius: Number
  • red: Number
  • blue: Number
  • alpha: Number
  • visible: Boolean
  • dimension: Number

Syntax

Server-Side
mp.checkpoints.new(type, position, direction, radius, red, green, blue, alpha[, visible, dimension])