[Release] Calm AI

This script no longer seems to work. My AI is as nuts as ever when bullets fly.

Stopped support for this script a while ago. If anyone has an update for newer versions of FiveM, feel free to message me

@Deadfool to calm down the Lost MC members, go to client.lua and add SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_LOST”), GetHashKey(‘PLAYER’))

So it should look like this

SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_HILLBILLY”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_BALLAS”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_MEXICAN”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_FAMILY”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_MARABUNTE”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_LOST”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“AMBIENT_GANG_SALVA”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“GANG_1”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“GANG_2”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“GANG_9”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“GANG_10”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“FIREMAN”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“MEDIC”), GetHashKey(‘PLAYER’))
SetRelationshipBetweenGroups(1, GetHashKey(“COP”), GetHashKey(‘PLAYER’))

He included the Lost MC in the script but just didn’t add it to the client.lua. but just a FYI, the
AMBIENT_GANG_MARABUNTE should look like all the others, don’t put the GetHashKey(‘PLAYER’)) at the bottom, it should match the rest of the code, for some reason when I pasted it in here it put that at the bottom but it should all line up, if you don’t understand, please let me know and I can show you the code.

1 Like

BUG: Ai’s still ram your car and go crazy when you shoot but they no longer attack.

1 Like

Please tell me. My gangs have disappeared. That is, single NPC go, and so that they would not stand in groups. What parameter affects this

Love the script…If I wanted the gangs to hate each other I get it under relationships to add the hate to whichever group…now what does Gang_1, 2, 9, 10 represent? Was wondering if I could have it set so the players that are in the gang job are safe around them but other gangs are not safe around them…example if player (ballas) is in lost area the ai lost will attack him…hope that makes sense and hope someone can help me out…THANKS in advance

Is this script getting rid of all my AI doing emotes, animals roaming around?? Even if I set it to like 1.0 or 0.9 99% of my AI peds have disappeared animals included… what