Checking if player is in BuildingPrivlidge before building?
I want to block the ability to place certain objects for players who are in within their TC range, but other players (authed or not) should be able to place those items OUTSIDE of the building priviledge. Using the CanBuild hook, the Construction.isBuildingPrivlidge will only return true if theyre trying to place a TC, and Construction.Target.inBuildingPrivlidge does not return it quite how I want it to. What's the best way to go about this?

I want to avoid checking their position in relation to their TC, so hopefully there's a better way.
planner.GetOwnerPlayer()?.CanBuild() ?? false will return if the player can build.

Merged post

You could do Vis.Entities also from the placement position and etc in 16m radius find BuildingBlocks well and.. see how game code works its from GetBuildingPrivilege.

Merged post

I think these are the simplest ways, at least did not find any other yet - cant spend that much time :P sorry