entity_intersects

Синтаксис

native bool:entity_intersects(entity, other);

Употреба

entity
Entity index 1
other
Entity index 2

Описание

Returns if two entities bounding boxes intersect by comparing their absolute
minimum and maximum origins.

Връщаща стойност

True if entities intersect, false otherwise

Грешка

If an invalid entity index is provided, an error will be
thrown.