GetEntitiesInArea
Available
Client
Syntax
GetEntitiesInArea(settings)
Parameters
Variable | Type |
---|---|
settings | Table |
Settings Parameters
Variable | Type | Default |
---|---|---|
entities | Table | Empty |
coords | Table | Empty |
range | Float | 20 |
entities is all entity id
Coords Parameters
Variable | Type | Default |
---|---|---|
x | Float | 0 |
y | Float | 0 |
z | Float | 0 |
Exemple
exports.ft_libs:GetEntitiesInArea({
entities = {
264,
2151,
2896,
6538,
},
coords = {
x = 452,21,
y = 244,45,
z = 425,75,
}
})
Result
Table
Updated over 6 years ago