do a container search to get the players close to the area you are checking
compare the players position to the x1, x2, y1.. (etc.) of the box to check if they are inside the box or not
ie
while(container find next player)
{
if(
pl.x+pl.radius > box.x-(box.width/2) && pl.x-pl.radius < box.x+(box.width/2) &&
pl.y+pl.radius > box.y-(box.length/2) && pl.y-pl.radius < box.y+(box.length/2) &&
pl.z+pl.height > box.z-(box.height/2) && pl.z-pl.height < box.z+(box.height/2)
)
{
//do player stuff
}
}
assuming the x y z coordinates are located at the center of each of these objects