From Second Life Wiki
GetAgentSize
llGetAgentSize
Description
Function: vector llGetAgentSize( key id );
Returns a vector that is the size of the requested avatar by id.
The agent id must be in the same region as the requesting object, ZERO_VECTOR is returned if not.
Notes
- This is a good way to test if an av is in the same region.
- The returned vector holds the size of the avatar's bounding box, of which only the height (z) varies. Width (x) and depth (y) are constant. (0.45m and 0.6m respectively).