Ped::setGroupSeparationRange: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Sets the range at which members will automatically leave the group.
Sets the range at which members will automatically leave the group.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ped.setGroupSeparationRange(groupHandle, separationRange);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ped.setGroupSeparationRange(groupHandle, separationRange);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''groupHandle:''' int
*'''groupHandle:''' int
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ped_function_c}}
{{Ped_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:29, 6 May 2017

Sets the range at which members will automatically leave the group.

Syntax

mp.game.ped.setGroupSeparationRange(groupHandle, separationRange);

Required Arguments

  • groupHandle: int
  • separationRange: float

Return value

  • Undefined

Example

// todo

See also