Stuff you need:
CL_SetViewAngles(int localClientNum, const float *angles)
clientActive_t
centity_t
clientInfo_t
You don't need to use CL_SetViewAngles unless you want so that being said a RPC is not needed for this unless you want to use that function.
Advanced Warfare:
0xCF09E0 - clientActive_t
0x2133C8 - CL_SetViewAngles(int localClientNum, const float *angles)
Or
clientActive_t + 0x3D68
ClientOrgins - 0xCB6B74 + 0x14
Next Client - 0x20C
Black Ops II:
0xD689D8 - clientActive_t
0x10B978 - CL_SetViewAngles(int localClientNum, const float *angles)
Or
clientActive_t + 0x2C94
ClientOrgins - 0xE22F20 + 0x2C
Next Client - 0x374
Go into Debugger once your ingame and go to clientActive_t then after you have enter the Address Follow the pointer to clientActive_t Data Struct then take that address it takes you to and plus "+" it by 0x3D68 or 0x2C94 whatever cod your on BOII or AW and there you can set your angle but i would prob just use the function for it instead.
Same go for using centity_t to get other Client's Orgins you go to centity_t follow the pointer and then take that address and plus "+" it by the 0x2C or 0x14 to get the client's Orgin and use the client size to get the next client.
There is one more thing you will need for this but hey i'm not going to give you it all you need to work for it or waste you money and buy this from someone to use it, I would rather work for it to get it free instead of paying 20$ or more for this shit :p lol
But that is getting the Client's team so you know what to shoot at unless you wanna make some ghetto code for it to work without it but that will be found in clientInfo_t this is simple to find aswell just check out the quake source and the cod4 pdb and you will easily find it
This can be done the same way on every cod aswell, Find it