fm_boxes_distance
- Синтаксис
-
stock Float:fm_boxes_distance(const Float:mins1[3], const Float:maxs1[3], const Float:mins2[3], const Float:maxs2[3]) { new Float:dist[3]; for (new i = 0; i < 3; ++i) { if (mins1[i] > maxs2[i]) dist[i] = mins1[i] - maxs2[i]; else if (mins2[i] > maxs1[i]) dist[i] = mins2[i] - maxs1[i]; } return vector_length(dist); }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- This function has no description.