If you wanted to stay inside the double quotes, i.e. if you were doing:
echo "Your total points is: $users[$uid]['points']";
and didn't want to concatenate the string and array, you would need to use parentheses to tell PHP to parse the entire array:
echo "Your total points is: {$users[$uid]['points']}";