Hi, thanks for your reply, I don't know the difference between them, both of them show in-game in the console and both are in the RagePluginHook.log.
In fact I'am still learning to do a callout, what I want to do is having a suspect that shoot at everyone and focus on the police and the player when they arrive, I tried multiple things to achieve it but either, they don't work or didn't do exactly what I want. What I actually want to try is having a ped which is defined by :
(Ped)World.GetClosestEntity(mySuspect.Position, 30f, GetEntitiesFlags.ConsiderHumanPeds);
every time in the process, and then who got the task :
if (done == false) { mySuspect.Tasks.FightAgainst(victim); done = true; }
which is executed one time. But it don't work (I will post a video to show what happend). So what I want now is trying to debug it by getting the ped my suspect want to attack (victim), and then attach a blip to him to see where he is (but I guess if I debug it, it won't be necessary), the main problem is that when the I run the callout my suspect is running somewhere indefinitely.
My combat is not even happening (that's why I don't understand why the task is "InProgress")(you will see in the video), but yeah my suspect a a gun, here is the part where my suspect is defined :
mySuspect = new Ped(SpawnPoint);
mySuspect.BlockPermanentEvents = true;
mySuspect.IsPersistent = true;
mySuspect.Inventory.GiveNewWeapon("weapon_pistol_mk2", -1, true);
mySuspect.Accuracy = 30;
mySuspect.Armor = 75;
mySuspect.FiringPattern = FiringPattern.BurstFireInCover;
mySuspect.KeepTasks = true;
mySuspect.RelationshipGroup = RelationshipGroup.Gang1;
mySuspect.RelationshipGroup.SetRelationshipWith(RelationshipGroup.Player, Relationship.Hate);
mySuspect.RelationshipGroup.SetRelationshipWith(RelationshipGroup.Cop, Relationship.Hate);
mySuspect.RelationshipGroup.SetRelationshipWith(RelationshipGroup.Medic, Relationship.Neutral);
I'am not sure to understand your last question, can you develop ?
Forgot to ask something, is the .NET framework version important and may cause that, because I saw something like that in an other topic, I'am using 4.8 .NET ?
HERE IS THE VIDEO : https://youtu.be/zQxaC-f0fP8 (it is even weirder because at 01:45 you can see him changing direction suddently after blocking him)