[help] Could you help me with this? why doesnt this work

So I’m trying to make it so gangs don’t attack certain people

—gang attack toggle—
if myJob == Family then
local player = GetPlayerPed(-1)
SetPedRelationshipGroupHash(player, GetHashKey(“AMBIENT_GANG_FAMILY”))
SetPedRelationshipGroupHash(player, GetHashKey(“AMBIENT_GANG_BALLAS”))
SetPedRelationshipGroupHash(player, GetHashKey(“AMBIENT_GANG_MEXICAN”))
–SetRelationshipBetweenGroups(0, GetHashKey(“AMBIENT_GANG_FAMILY”), GetHashKey(‘PLAYER’))
end

Still need help…

20Characters

help please :smiley:
20Characters