In case it may aid your search, here are the commands I would use in A7 - LiteC
Code:
Check before here that we have a sucessful hit on an entity.
1> var ClosestVertex = hitvertex;    //get the nearest vertex to the hit position
2> var UV[3];  vec_for_uv(UV, you, ClosestVertex);    //get the X,Y co-ordinate of that vertex in the UV map
3> BMAP* ColorMap = ent_getskin(you, 3);  //get the color-map skin, assume limb-color skin to be number 3
   var BmapType = bmap_lock(ColorMap);   //required to allow use of pixel_for_bmap
   var LimbPixel = pixel_for_bmap(ColorMap, UV[0], UV[1]);   //get the pixel from the colormap at UV position
   var LimbColor[3];   pixel_to_vec(LimbColor, NULL, BmapType, LimbPixel);    //convert pixel to a color vector
   bmap_unlock(ColorMap);   //free bmap now we are done with it
And now LimbColor contains the blue[0], green[1], and red[2] contents of the limb that got hit.
This code is a bit long winded and could easily be compressed, but Ive put it all in
to aid in your understanding of whats going on.
Remember, this is A7 stuff, but you may be able to find A6 equivalents for most of it.
Also, this code ISNT tested.

Best of luck...




"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial