If Steam says your account doesn't have the game when you try to play Garry's Mod 10 online, it usually means you're running an illegitimate copy. To fix it, you'll need to purchase the game—it's only around $10. Keep in mind Garry's Mod also requires a compatible Source game to run, such as Half-Life 2. Once you own both legitimately, you'll be able to play online without the error.