If anyone wants to know how to make NPCs friendly, here's how it works:
The first thing you have to do is make the NPC an entity(e.g. looking at a turret and typing "ent_setname turret").
Next, you can change it's relationship status in relation to any other type of entity, for example, if you...