Open rtxa opened 1 year ago
We could also try emulated the "pause" command on the client, my main issue was the client lagging and the command not being send, but using engclient_cmd
we'll make sure the command gets to the server instantly.
Awaiting for ReHLDS pull request of Host_Pause to implement this feature.
Currently I use the id of the connected player, if he's not present, we use another player. This is not reliable and we should add a function in ReHLDS or something to pause the server whenever we need it from server-side.
Anyway, we should go back to use only the connected player, like AG does to avoid showing in console or make think other players that one player pause, but he actually didn't....