Dlc1::getNumPropsFromOutfit: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
character is 0 for Michael, 1 for Franklin, 2 for Trevor, 3 for freemode male, and 4 for freemode female.<br><br>componentId is between 0 and 11 and corresponds to the usual component slots.<br><br>p1 could be the outfit number; unsure.<br><br>p2 is usually -1; unknown function.<br><br>p3 appears to be a boolean flag; unknown function.<br><br>p4 is usually -1; unknown function. | character is 0 for Michael, 1 for Franklin, 2 for Trevor, 3 for freemode male, and 4 for freemode female.<br><br>componentId is between 0 and 11 and corresponds to the usual component slots.<br><br>p1 could be the outfit number; unsure.<br><br>p2 is usually -1; unknown function.<br><br>p3 appears to be a boolean flag; unknown function.<br><br>p4 is usually -1; unknown function. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">dlc1.getNumPropsFromOutfit(character, p1, p2, p3, p4, componentId);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.dlc1.getNumPropsFromOutfit(character, p1, p2, p3, p4, componentId);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''character:''' int | *'''character:''' int | ||
| Line 13: | Line 13: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Dlc1_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:06, 6 May 2017
character is 0 for Michael, 1 for Franklin, 2 for Trevor, 3 for freemode male, and 4 for freemode female.
componentId is between 0 and 11 and corresponds to the usual component slots.
p1 could be the outfit number; unsure.
p2 is usually -1; unknown function.
p3 appears to be a boolean flag; unknown function.
p4 is usually -1; unknown function.
Syntax
mp.game.dlc1.getNumPropsFromOutfit(character, p1, p2, p3, p4, componentId);
Required Arguments
- character: int
- p1: int
- p2: int
- p3: Boolean
- p4: int
- componentId: int
Return value
- int
Example
// todo