NPC protection (DarkRP)

Hey! Is there any way someone can make it so that when a player is a zombie model, zombie NPC’s/headcrabs do not attack them? I have tried this: http://www.garrysmod.org/downloads/?a=view&id=65189 but it only works in singleplayer, I need a script thats serverside. THANKS IN ADVANCE!