Ped::addRelationshipGroup: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Can't select void. This function returns nothing. The hash of the created relationship group is output in the second parameter.
Can't select void. This function returns nothing. The hash of the created relationship group is output in the second parameter.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ped.addRelationshipGroup(name, groupHash);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ped.addRelationshipGroup(name, groupHash);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''name:''' String
*'''name:''' String
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]]

Revision as of 21:29, 6 May 2017

Can't select void. This function returns nothing. The hash of the created relationship group is output in the second parameter.

Syntax

mp.game.ped.addRelationshipGroup(name, groupHash);

Required Arguments

  • name: String
  • groupHash: Hash

Return value

  • Hash

Example

// todo

See also