Rope::ropeForceLength: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Forces a rope to a certain length.
Forces a rope to a certain length.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">rope.ropeForceLength(rope, length);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.rope.ropeForceLength(rope, length);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''rope:''' Object handle or object
*'''rope:''' Object handle or object
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Rope_function_c}}
{{Rope_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:31, 6 May 2017

Forces a rope to a certain length.

Syntax

mp.game.rope.ropeForceLength(rope, length);

Required Arguments

  • rope: Object handle or object
  • length: float

Return value

  • unknown (to be checked)

Example

// todo

See also

Template:Rope s function c