LockGangVehicle(family, carid, type) { new v = GetGangVehicle(family, carid); if(FamilyVehicleInfo[family][v][fvId] == carid && type == 2) { LockStatus[carid] = 1; vehicle_lock_doors(carid); } }