Both are really good Rifles, but I would get the VZ 24, my reason would be a pro for the VZ and a Con for the YUGO.
My reason is simple, the VZ has a full leinght action and uses Mauser 98 Parts that are common, If you buy the Yugo, and break your firing pin tip, you will not be able to find a replacement, and unless you have a lathe you are up a creek.
I have searched all over the Web trying to find a spare firing pin for my 24 47 and have not found one yet. You may never need a firing pin for the Yugo, but if I were to buy Mauser it would have the common full leingth action. Good luck