Good afternoon friends, all right?
I have a problem with get_playersnum_ex () as logs below:
PHP Code:
new TeamCt = get_playersnum_ex(GetPlayers_MatchTeam, "CT")
new TeamTr = get_playersnum_ex(GetPlayers_MatchTeam, "TERRORIST")
log_amx("%i - %i - %i", TeamCt, TeamTr, VarCheckPlayersSound)
Code:
L 10/05/2019 - 13:27:30: L 10/05/2019 - 13:45:47: [teste.amxx] 5 - 1 - 3
L 10/05/2019 - 13:45:48: [teste.amxx] 5 - 1 - 3
L 10/05/2019 - 13:45:49: [teste.amxx] 5 - 1 - 3
L 10/05/2019 - 13:45:49: [teste.amxx] 5 - 1 - 3
L 10/05/2019 - 13:45:50: [teste.amxx] 5 - 1 - 3
L 10/05/2019 - 13:45:50: [teste.amxx] 5 - 1 - 3
L 10/05/2019 - 13:45:51: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:51: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:52: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:52: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:53: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:53: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:54: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:54: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:55: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:55: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:56: [teste.amxx] 5 - 0 - 3
L 10/05/2019 - 13:45:56: [teste.amxx] 5 - 0 - 3-
At the moment there were 5 CT's and 7 Tr's on the server, but in the count the Tr's are not correct, would it be a bug, or am I using it the wrong way?
Edit Solved: The problem seems to happen on amx 1.10 5378, I downgraded to amx 1.9 5249 and no longer presented the problem.
__________________