To have more than 32 players on a server, you need a server with the corresponding number of slots. For example, for 48 players you need a server with at least 48 slots. To be able to use more than 48 slots, you also need a corresponding FiveM Patreon membership.