Hello!
As ussually I have a problem. Im making a script for automatic rifles. I use the fire command. The script works well in case of player. However when used on friendly NPC sometimes it fires towards me instead of hostile NPC. This is strange because the NPC is aiming at hostile NPC yet sometimes bullets fly towards me. This is more than annoying since 5+ bullets is always a fatal experience. Someone could give me a hint why this is happening and how to prevent it?