DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CountPlayersWithinRange()

proto native int CountPlayersWithinRange ( vector vPos,
float fRange )
private

Check if there is a vehicle within a radius.

Аргументы
vPosvector The center point
fRangefloat The radius around the center point
Возвращает
int The amoutn of players inside supplied area
GetCEApi().CountPlayersWithinRange(Vector(500, 0, 500), 500);
proto native CEApi GetCEApi()
Get the CE API.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.