Server Issues

Can anyone tell me why i can enter my server it gives me this code Error resume coroutine :client /leavehandler.lua7: attempt to call a nil value (global ‘doesgamecodewanttoleavenetworksession’)
and another thing how do i change it from 8 slots to 32 slots

You’re going to have to be a bit more specific on the problem you’re having. You’re able to join but it gives an error???
Also if your server.cfg file you can change the max clients using:

sv_maxclients 8 -- change this to anything you like (between 1-32)

yes i be able to join then im stuck on the session screen

so you can’t really join then? well you’re going to have to provide more info, try the support format.

Support Format

GTA V version?
Up to date?
Legit or Pirate copy?
Steam/CD/Social Club?
Windows version?
Did you try to delete caches.xml and try again?
Error screenshot (if any)
System specifications
What did you do to get this issue?
What server did you get this issue on?
CitizenFX.log file
.dmp files/report IDs

If an issue with starting:
GTA V folder screenshot
GTA V/update/x64/dlcpacks screenshot
Filepath to FiveM folder
FiveM client folder screenshot
Did you try to disable/uninstall your Anti-virus?

Also add what you already tried so far.