Entity::createForcedObject: Difference between revisions
(yay) |
m (category) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">entity.createForcedObject(x, y, z, p3, modelHash, p5);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.entity.createForcedObject(x, y, z, p3, modelHash, p5);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''x:''' float | *'''x:''' float | ||
| Line 13: | Line 13: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Entity_s_function_c}} | ||
[[Category:Entity API]] | |||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:Client-side Function]] | |||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 17:45, 17 May 2019
Syntax
mp.game.entity.createForcedObject(x, y, z, p3, modelHash, p5);
Required Arguments
- x: float
- y: float
- z: float
- p3: unknown (to be checked)
- modelHash: Model hash or name
- p5: Boolean
Return value
- Undefined
Example
// todo