Well i did use the MSM Tool.
And i followed this Instructions:
1. Flash the custom rom and then twrp on a random partition slot.
2. Switch the slot in twrp and reboot twrp on that slot.
3. Flash the custom rom again on this partition, then twrp again, then reboot twrp.
4. Flash gapps, then...