Well, today I updated sourcemod to 1.11 .. there were small problems with 2 plugins, but it seemed to be solved:
1. with GeoIP - found a replacement for GeoIP2, like Ok ..
2. with my plugins, which I wrote under sourcemod 1.7, well, everything seemed to work out
And, everything works, by the way, that's why I didn't want to update sourcemod to 1.11 yet. because then some plugins sometimes stop working. And AI or have to repair = fix or look for a replacement (alternative)
Well, thank God everything worked out and all the plugins work ... fuuu ...
And now, regarding your plugin, in general, I noticed a small error when you change a team for a player, I accidentally transferred it to another team using the plugin
SwapTeam v1.2.6, then the player has a locked weapon..
Just in case, here is the order of my actions on the server:
1. chose and blocked a class from the player
2. By chance, through the swapteam plugin, I changed the team for which the blocked player will play.
As a result, he appeared with a blocked weapon. Screenshot link below.
here is a screenshot :
https://prnt.sc/pSGdlDtdYLJ7
And so, in general, the work of the plugin will still be tested ... thanks again ...
And another question , I noticed a lot of lines with zero values of stimadi players , the question is where did they come from ?
PHP Code:
"data"
{
"[U:1:27xxxx]"
{
"classbit" "0"
}
"[U:1:37xxxx]"
{
"classbit" "0"
}
"[U:1:47xxxxx]"
{
"classbit" "0"
}
"[U:1:182xxxx]"
{
"classbit" "0"
}
"[U:1:204xxx]"
{
"classbit" "0"
}
}
It may turn out to clear them, that "empty" values were not written to the file. and don't get confused...