Ped::addRelationshipGroup: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
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);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''name:''' String
*'''name:''' String
*'''groupHash:''' Hash
===Return value===
===Return value===
*'''Hash'''
*'''Hash'''
==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 12:14, 24 December 2021

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);

Required Arguments

  • name: String

Return value

  • Hash

Example

// todo

See also