It sounds like the gambling you're talking about is a form of entertainment. So it should come out of the amount of money you have left after you take out cost of living, by which I mean bills, rent/mortgage and all other liabilities that take precedence over leisure.
I wouldn't worry so much about a specific %, just ensure you don't piss away money that's needed to live comfortably.