Y-Less / sscanf

SA:MP sscanf plugin originally made by @Y-Less
Other
122 stars 51 forks source link

crash server #34

Closed Dmitriy51 closed 2 years ago

Dmitriy51 commented 3 years ago

if(sscanf(params, "d", player)) return SendClientMessagef(playerid, red,"|USE|: {333333} /ban |id]"); if(!SSCANF_IsConnected(player)) return SendClientMessagef(playerid, red,"|ERROR|: {00FFFF}Player not connected!");

SSCANF_IsConnected(player) this function crash the server, if (player = -11111111111)

Y-Less commented 3 years ago
  1. This isn't an issue.
  2. This is the old repo.
  3. Why are you even calling that function in the first place? That's an undocumented internal function.