Ped::getNumParentPedsOfType: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Type equals 0 for male non-dlc, 1 for female non-dlc, 2 for male dlc, and 3 for female dlc.
Type equals 0 for male non-dlc, 1 for female non-dlc, 2 for male dlc, and 3 for female dlc.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ped.getNumParentPedsOfType(type);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ped.getNumParentPedsOfType(type);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''type:''' int
*'''type:''' 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

Type equals 0 for male non-dlc, 1 for female non-dlc, 2 for male dlc, and 3 for female dlc.

Syntax

mp.game.ped.getNumParentPedsOfType(type);

Required Arguments

  • type: int

Return value

  • int

Example

// todo

See also