Skip to content

MaxDistance config option doesn't apply to checkNearbyEntities() #36

@Code-Kane

Description

@Code-Kane

If you would like to divorce the "pool" of entities from this distance, I suggest adding additional config options for these lines

processEntities(getNearbyObjects(coords, 4.0), 'objects')
processEntities(getNearbyVehicles(coords, 4.0), 'vehicles')
processEntities(getNearbyPlayers(coords, 4.0, false), 'players')
processEntities(getNearbyPeds(coords, 4.0), 'peds')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions