Dlc1::getPropFromOutfit: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
outfit = a structure passing though it - see GET_SHOP_PED_QUERY_OUTFIT<br>slot - outfit slot<br>item - hold 3 ints in a struct, you can use Vector3 structure<br><br>GET_SHOP_PED_??? | outfit = a structure passing though it - see GET_SHOP_PED_QUERY_OUTFIT<br>slot - outfit slot<br>item - hold 3 ints in a struct, you can use Vector3 structure<br><br>GET_SHOP_PED_??? | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">dlc1.getPropFromOutfit(outfit, slot, item);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.dlc1.getPropFromOutfit(outfit, slot, item);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''outfit:''' unknown (to be checked) | *'''outfit:''' unknown (to be checked) | ||
| Line 10: | Line 10: | ||
==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
outfit = a structure passing though it - see GET_SHOP_PED_QUERY_OUTFIT
slot - outfit slot
item - hold 3 ints in a struct, you can use Vector3 structure
GET_SHOP_PED_???
Syntax
mp.game.dlc1.getPropFromOutfit(outfit, slot, item);
Required Arguments
- outfit: unknown (to be checked)
- slot: int
- item: unknown (to be checked)
Return value
- Boolean
Example
// todo