You can extract the player's topcolor and bottomcolor values and put them into the sentry's pev_colormap value (so the Sentry Guns will take their owner's color palette) .
There should be a Ham function that gets called when when monster_turret (and mini, etc). You can try hooking Ham_CheckEnemy() and get an enemy player walk near the turret while it is deactivated.