In the current scenario, everyone has freedom to choose their own role.
We cant put restrictions to that.
Though, you are right....
I guess this can be solved by heavy discouragement.
When a cop respawns and joins as robber, the robbers should not split cash with him.
Rather, you should hold him hostage, torture him, put a stubby in his guts......such lame money hungry actions should be criticized.
I guess, if everyone on the server starts calling him a "Lame Boon Money Hungry Traitor!!!".....that guy will think 2wice before repeating such an act.
To support this:
The term "b00N" was introduced in 2009, I noticed that M60 usage drastically dropped among SWAT units since then

.
Such kind of discouragement do have significant consequences, and dont require any scripts as such.....

Due to VCPD inactivity, freecops often have to be bribed so they won't switch side in case of bankrob (!).
lolwut?? More corrupt freecops???? I got competition :sig: