Jump to content

SOLVED Ped set as cop problem HELP


SzbZsmbr

Recommended Posts

Hi, guys, i'm making my new callout, everything is working but one thing. So the main callout is shootout, i make a new ped FBI Suit guy, and i set him as a cop, then i make him to shoot the enemy guys who are also spawned, and the console writes that ("random name" was set as a cop.) then when the shooting part comes writes("random name" entered combat with target: "random ped") then he walks a bit to the enemy and he stops, the console writes("random name" left combat.) I think this is a feature inside LSPDFR where the cops don't shoot while they are not getting shot at, i tested it and even if my cop is getting shot at he will fire like 2-5 rounds and again stops and stands still.

Any suggestions what can i do? Please help me, thanks in advance!

Edited by SzbZsmbr

SzbZsmbr

Link to comment
Share on other sites

  • 2 weeks later...
  • Community Team

I had some similar issues while working on my new swat callout pack, what I did was add the bad guys to a new relationship group, then made both the cop and new one (mafia) hate each other, then they are relentless and will fight to the death.

 

Game.SetRelationshipBetweenRelationshipGroups("MAFIA", "COP", Relationship.Hate);
Game.SetRelationshipBetweenRelationshipGroups("COP", "MAFIA", Relationship.Hate);

Now I have it as soon as the callout ends or the bad guys die, the relationship group is just made to dislike. Then the cops will insult them, but not try to kill them non stop after the shootout and you have EMS on scene.

 

Game.SetRelationshipBetweenRelationshipGroups("COP", "MAFIA", Relationship.Dislike);

 

Join my Discord server!
Click Me!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...