Entity::wouldEntityBeOccluded: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
First parameter was previously an Entity but after further research it is definitely a hash. | First parameter was previously an Entity but after further research it is definitely a hash. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">entity.wouldEntityBeOccluded(hash, x, y, z, p4);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.entity.wouldEntityBeOccluded(hash, x, y, z, p4);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''hash:''' Model hash or name | *'''hash:''' Model hash or name | ||
| Line 12: | Line 12: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Entity_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:06, 6 May 2017
First parameter was previously an Entity but after further research it is definitely a hash.
Syntax
mp.game.entity.wouldEntityBeOccluded(hash, x, y, z, p4);
Required Arguments
- hash: Model hash or name
- x: float
- y: float
- z: float
- p4: Boolean
Return value
- Boolean
Example
// todo