Перейти к содержанию

Entity::wouldEntityBeOccluded

Материал из RAGE MP Wiki Archive
Версия от 21:06, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

First parameter was previously an Entity but after further research it is definitely a hash.

Syntax

<syntaxhighlight lang="javascript">mp.game.entity.wouldEntityBeOccluded(hash, x, y, z, p4);</syntaxhighlight>

Required Arguments

  • hash: Model hash or name
  • x: float
  • y: float
  • z: float
  • p4: Boolean

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:Entity s function c