That is a good question and I would like to add something to it:
When player A is in gang X, but currently is in separate group playing with gang Y and not even contacting his own gang, if the gang X gets engaged into some hostile rp situation, can player A react to it (get involved)? Or if player A gets killed randomly without even knowledge that his gang was involved in any hostile situation (as player A was currently in different group, and was dealing with different situations) does it mean he got RDM'd?
If answer for my questions above is "this is not RDM, you are a part of the gang even when you are in different group you are initiated in all your gang situations", my second question is:
Player A being a member of gang X, but having fun with different people at that time with separate group Y gets involved in following situation: Gang member from gang X gets shot at by APD and handcuffed, player A starts shooting at cops, when group members Y are initiated with cops? At the time player A starts shooting at officers (and becomes red for them as well as all the group), when officers shoot back, or maybe never?
edit: Situation I described above is similar to Undercover police officers who come to the illegal area with marked officer. UC can shoot without announcing himself, but marked officer has to engage and announce himself as APD. If UC starts shooting at somebody marked officer still can't shoot, he is engaged only if rebels shoots back at him. This is where my above questions comes from.