Land-based casinos allow you to pay with credit cards in different capacities. You can use them to purchase chips at a table or for cash advances at the cage. There are also non-gambling purchases you can make (hotel rooms, dining, etc.).
Remember that land-based casinos also have ATMs, where you can withdraw cash. There’s a good chance, however, that they’ll charge you an ATM usage fee. Moreover, ATM withdrawals are also different from a cash advance in that you’re not borrowing the money (it comes directly from your bank account).