I'm sorry to be insistent here, but this is still not working for me. I'm trying hard, and had to run dozens of tests with several modifications to spot the cause of the error.


I spotted it trying to command
self setClientCvar("name", "test");

in several places, with the correct syntax. Tried the main function, tried CheckTimeLimit function, EndMap function and a new function I created to change the map, and got no results. The only function that worked was SpawnPlayer.
It wasn't bad syntax, since I got no errors when starting the server, used copy and paste to place the command in several places, and re-wrote it to test more times.


So, code is basically not working because it was inside a function where those commands simply don't work. I know it's probably details I don't know about, but trust me, I'm putting a lot of time into this, I really need to make this work.


Can someone help me? Thanks in advance.