hancerPL Posted November 5, 2024 Posted November 5, 2024 We have online servers, and some players have problems, they are kicked out of the server when the mission loads with people. Without scripts there is no such problem. The solution would be to kick clients out of the server before changing the mission. But I don't know how to do it, maybe someone can help. You can probably use the function NET:GetPlayerList() Specialization A-10C https://vbw304.pl/
cfrag Posted November 6, 2024 Posted November 6, 2024 (edited) On 11/5/2024 at 1:58 PM, hancerPL said: The solution would be to kick clients out of the server before changing the mission. Or you could tell players to log off, e.g. via chat. On 11/5/2024 at 1:58 PM, hancerPL said: You can probably use the function NET:GetPlayerList() You can if you know how to create and maintain server-side script modules. It would be net.get_player_list() - but that is not something that you can invoke from inside a mission, it must run inside the server context. Edited November 6, 2024 by cfrag
Recommended Posts