22.09.2018, 17:58 
	(
 Last edited by 2Col; 18/10/2018 at 02:46 PM.
)
	
	
		I took an example code from sscanf thread:
There are 2 players:
When I write /test [CLAN] I get this:
But it should be:
However, if players switch their IDs everything is fine.
/test [CLAN]
Any ideas?
EDIT:
v2.8.3 fixed this issue, but I have another issue.
There is 1 player:
and if I enter this:
I get this:
	
	
	
	
Code:
#include <a_samp>
#include <Pawn.CMD>
#include <sscanf2>
main()
{
}
cmd:test(playerid, params[])
{
	new ids[3], i;
	if (sscanf(params, "?<MATCH_NAME_PARTIAL=1>u[3]", ids)) printf("Error in input");
	for (i = 0; ids[i] != INVALID_PLAYER_ID; ++i)
	{
	    if (ids[i] == cellmin)
	    {
	        printf("Too many matches");
	        break;
	    }
	    printf("id = %d", ids[i]);
	}
	if (i == 0) printf("No matching players found.");
	return 1;
}
Code:
0) [CLAN]Y_Less 1) Y_Less
Code:
id = 0 id = 1
Code:
id = 0
Code:
0) Y_Less 1) [CLAN]Y_Less
Code:
id = 1
EDIT:
v2.8.3 fixed this issue, but I have another issue.
There is 1 player:
Code:
0) [CLAN]Y_Less
Code:
/test [CLAN]Y_LessSomething
Code:
id = 0


