Ped::createGroup: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Creates a new ped group.<br>Groups can contain up to 8 peds.<br><br>The parameter is unused.<br><br>Returns a handle to the created group, or 0 if a group couldn't be created.
Creates a new ped group.<br>Groups can contain up to 8 peds.<br><br>The parameter is unused.<br><br>Returns a handle to the created group, or 0 if a group couldn't be created.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ped.createGroup(unused);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ped.createGroup(unused);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''unused:''' int
*'''unused:''' int
Line 8: Line 8:
==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

Creates a new ped group.
Groups can contain up to 8 peds.

The parameter is unused.

Returns a handle to the created group, or 0 if a group couldn't be created.

Syntax

mp.game.ped.createGroup(unused);

Required Arguments

  • unused: int

Return value

  • int

Example

// todo

See also