Streaming::requestModel2: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
It appears that this native requests only ped models, more specifically the main characters (Michael, Franklin and Trevor). Unconfirmed! | It appears that this native requests only ped models, more specifically the main characters (Michael, Franklin and Trevor). Unconfirmed! | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">streaming.requestModel2(model);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.streaming.requestModel2(model);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''model:''' Model hash or name | *'''model:''' Model hash or name | ||
| Line 8: | Line 8: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Streaming_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Revision as of 21:32, 6 May 2017
It appears that this native requests only ped models, more specifically the main characters (Michael, Franklin and Trevor). Unconfirmed!
Syntax
mp.game.streaming.requestModel2(model);
Required Arguments
- model: Model hash or name
Return value
- Undefined
Example
// todo