Check for ped type when in vehicle and remove relationship group if gang
Hey, I need help creating a script that checks for ped types of all peds inside a vehicle, and if it returns as a gang member, I'd like to remove their relationship group or something that would cause them to stop hopping out of their vehicle to attack members of a relationship group set to "Hate". Or if anyone knows of a way to pacify peds in cars to where they can't attack people, let me know! Any help would be GREATLY appreciated!
How would I be able to get singular Ped values from an array of Peds to use with the function GET_PED_TYPE?