Relationship status,need little bit help with it


#1

I’m trying to get my own gang script to work like if u join the gang the gang will respect u if u take a gang skin.

right now I have only this

local relationshipTypes = {
“AMBIENT_GANG_BALLAS”,
}

Citizen.CreateThread(function()
while true do
Wait(50)
for _, group in ipairs(relationshipTypes) do
SetRelationshipBetweenGroups(1, GetHashKey(‘PLAYER’), GetHashKey(group))
SetRelationshipBetweenGroups(1, GetHashKey(group), GetHashKey(‘PLAYER’))
end
end
end)

What should I add in that the gang will respect me if I take the ballas skin??? any ideas?