Describe the bug
A player having a score (SetPlayerScore) who disconnects, remains in the players list (on client) when SetPlayerScore is used in OnPlayerDisconnect.
To Reproduce
It happens on our open.mp server.
It hasn't been tested on a "blank" gamemode, therefore it needs to be reproduced.
Set a Score to a connected player --> SetPlayerScore(playerid,48);
Change his score in OnPlayerDisconnect --> SetPlayerScore(playerid,0);
The player remains in the players list, whereas he is disconnected.
Expected behavior
If it's confirmed, it may be abused to get a full list of ghost players.
Describe the bug A player having a score (SetPlayerScore) who disconnects, remains in the players list (on client) when SetPlayerScore is used in OnPlayerDisconnect.
To Reproduce It happens on our open.mp server. It hasn't been tested on a "blank" gamemode, therefore it needs to be reproduced.
SetPlayerScore(playerid,48);
SetPlayerScore(playerid,0);
Expected behavior If it's confirmed, it may be abused to get a full list of ghost players.
Release version v1.3.1.2748 [Latest]