You can only spawn 5 dogs. If an NPC starts attacking you the dogs will defend you.

Requirements:
ScriptHookV: http://www.dev-c.com/gtav/scripthookv/
ScriptHookVDotNet: https://github.com/crosire/scripthookvdotnet/releases

INSTRUCTIONS:
1. Go to your Grand Theft Auto V main folder
C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V
2. Make a new folder named "scripts" all lowercase
3. Move the "BodyGuardDogs.dll" file into the "scripts" folder
4. Launch the game
5. Press "H" to spawn a dog 