Cop + criminal at the same moment

I was a cop, got killed by an explosion, and when I respawned I became cop + criminal. Another cop came to ticket me too, even tho I was in tenpenny skin and had an option to go off duty.
sa-mp-010.png (155 KB)
sa-mp-011.png (95 KB)
sa-mp-012.png (130 KB)
This is an old bug, which I believe was reported before, However there is no way to replicate this from those 3 pictures which might make it an invalid bug report.

Could you, perhaps take a picture of your /crimes ? Can you try to replay the scene that caused this? Also taking a video would be highly suggested.
Yeah seeing your /crimes would be a tiny bit helpful..
I quit just after that, but I did not go off duty yet, so I think it should be my last crime that made this happen. I can upload it tomorrow, or if any staff can check it now?
here
SnakeEye was a suspect and I had attacked him with grenades but at the same moment I jumped at one of the nades and died. I think 1 of grenades damaged him when I was in DEAD state, that's why it was counted as a crime, but it should be 2 star because I damaged him, idk why I was ticketable.
sa-mp-014.png (43 KB)
I have found the problem I think, however I have not been able to replicate this.

There's a simple check when a 'crime' is committed, and that is whether or not you are a cop. If you are a cop, it ignores the 'crime' (e.g. you shot someone).

The potential problem with this check is that when you respawn your skin is not set for a split second, I think it's CJ or skin ID 7. Therefore for like 1 millisecond the server doesn't see you as being a cop, as your skin isn't a cop skin.

To fix this, I won't trust what the client's game tells me is the skin, I'll use the skin that the server has saved. That should prevent issues like this.
What a memorial bug, I do remember I had encountered this before when I was a staff member back then, and I knew exactly how you could replicate it, I might be unspecific through my details, but, at least somebody might remember how this bug can be replicable.

This happens after you die by an explosion, then receive a crime after assaulting a suspect when he/she is (still) burning, the client mentions that 'YOU' are the one who's causing the damage to him, and, then the script gives you a wanted level for assault.