Found some bugs in Friendly fire function.
1. Cant use melee weapons like knife and fists ( punch only when robbing).
2. Can be disabled in time to time.
PS: When use Friendly fire in camp game can go to gameover while "You bring enemy in camp". So very need a function to disable all camp/safe zone restrictions.
And i found file metapeds.ymt This file contains rel group for every npc in game. We can swap a hash walyes of this gropus between story and regular character if it works in game.
I see. May be by adding some lines with other REL groups like REL_PLAYER_ALLY, REL_COMPANION_GROUP and some others we can make it working for all npcs? But i dont know how to implemet this script in to game.