AMX Mod X API Documentation

Signature
native bool:entity_intersects(entity, other);
Description

Returns if two entities bounding boxes intersect by comparing their absolute

minimum and maximum origins.

Parameters
  • entity Entity index 1
  • other Entity index 2
Returns

True if entities intersect, false otherwise

Errors
  • If an invalid entity index is provided, an error will be

    thrown.

Назад
Верх