Hello everyone, because FiveM does not exit when the client is disconnected, it only keeps reconnecting, which leads to the emergence of my server that can use disconnecting its own network to achieve a card delay and trigger many NUI events, so as to achieve Clicking once turns into a problem of getting stuck many times. My script has solved this problem, and you can download it if you need it.
Hope you like it
Its logic is to check whether the client is online every 3 seconds, if it fails more than 3 times, it will log out of the server and remind him not to get stuck in the network