I’m having an issue where animals wont attack you unless you kick them first. I’m on latest qb-core. it does it with both the native animals and when i use flight-animals. Am I missing something somewhere or is there just a bug happening? I just want the agressive animals to attack when people are hunting.
Check your qbcore files, there are files in QB-Smallresources that handle ped interactions.
Although I don’t think this affects animals. You could generally search for the SetRelationshipBetweenGroups native.
-- Relationship Types:
-- 0 = Companion
-- 1 = Respect
-- 2 = Like
-- 3 = Neutral
-- 4 = Dislike
-- 5 = Hate
SetRelationshipBetweenGroups(1, `AMBIENT_GANG_HILLBILLY`, `PLAYER`)
SetRelationshipBetweenGroups(1, `AMBIENT_GANG_BALLAS`, `PLAYER`)
SetRelationshipBetweenGroups(1, `AMBIENT_GANG_MEXICAN`, `PLAYER`)
SetRelationshipBetweenGroups(1, `AMBIENT_GANG_FAMILY`, `PLAYER`)
SetRelationshipBetweenGroups(1, `AMBIENT_GANG_MARABUNTE`, `PLAYER`)
SetRelationshipBetweenGroups(1, `AMBIENT_GANG_SALVA`, `PLAYER`)
SetRelationshipBetweenGroups(1, `AMBIENT_GANG_LOST`, `PLAYER`)
SetRelationshipBetweenGroups(1, `GANG_1`, `PLAYER`)
SetRelationshipBetweenGroups(1, `GANG_2`, `PLAYER`)
SetRelationshipBetweenGroups(1, `GANG_9`, `PLAYER`)
SetRelationshipBetweenGroups(1, `GANG_10`, `PLAYER`)
SetRelationshipBetweenGroups(1, `FIREMAN`, `PLAYER`)
This file has been truncated. show original
1 Like
Thank you for the reply. Ill check that out.
system
Closed
April 30, 2024, 3:31pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.