display_players_stats ERROR!!
-
Resxt I got an error in your script
display_players_stats. Just change the colors of the texts
It happens as soon as someone enters the server -
These are warnings not errors
-
Resxt So it doesn't do anything? I can leave it so it won't cause problems in the long run.
-
Another little thing. Regarding the manage_bots_fill.gsc script, I don't understand it very well... does it ensure that there are no bots in the game until a player enters? Or does it only manage the number of bots to keep in the game?
-
Resxt Because when I load the server the bots appear, then someone has to enter and exit so they disappear
-
The script simply edits the dvar. See Bot Warfare for what it does. This script does not create any logic other than modifying the dvar value in certain cases
-
Would be interesting to have a copy of this GSC script because I don't think those are warnings at all.
-
-
It could be that the error message is wrong and that the first parameter needs to be actually a string.
Then you would need to fix the two other calls to the function that uses a float for the first parameter instead of a string. -
FutureRave this function can have strings, you can see the function declaration where it has conditions with "TOP" and so on, lot of scripts do it that way. It does work. They're just warnings. Tbh I don't really want to fix my old scripts they serve as archives/references more than anything. But again, it does work just fine, just a false warning. It's open source so anyone can fix it too
-