Hello,
so today ive "finished" my pursuit Plugin, which would create a pursuit like the basic ones from LSPDFR. Now i thought it would be a lot more fun, that the suspects in vehicle would shoot
out of it. So i gave my suspects weapons and created a Relationshipgroup for them. Now i made that the Suspect Relationshipgroup hates the Cop Relationshipgroup. But when im in game they just flee.
My Code :
Suspect.RelationshipGroup = "RelSuspect";
Suspect1.RelationshipGroup = "RelSuspect";
Suspect2.RelationshipGroup = "RelSuspect";
Suspect3.RelationshipGroup = "RelSuspect";
Suspect4.RelationshipGroup = "RelSuspect";
Suspect5.RelationshipGroup = "RelSuspect";
Suspect6.RelationshipGroup = "RelSuspect";
Suspect7.RelationshipGroup = "RelSuspect";
Game.SetRelationshipBetweenRelationshipGroups("RelSuspect", "COP", Relationship.Hate);
Suspect.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Suspect1.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Suspect2.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Suspect3.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Suspect4.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Suspect5.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Suspect6.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Suspect7.Inventory.GiveNewWeapon("WEAPON_PISTOL", 9999, true);
Sorry for the hard coding, i should have made lists.
It would be nice if you could help me.
Thanks for reading,
- Kolopsel