Originally Posted by
guiismiti
Well, here it is again:
self iprintlnbold("test 01");
only worked in Spawnplayer, like I tested earlier. It did not work in CheckTimeLimit.
iprintlnbold("test 02");
this one worked in CheckTimeLimit.
So, this raises two questions:
1) Why are the self commands not working in functions like CheckTimeLimit and EndMap?
I have also tested another mod, the one I have in my server right now, and got the same results. There is the Renaming function, that renames "Unknown Soldier"s and "UnnamedPlayer"s, it uses self setClientCvar.
And I'm sure all functions are being executed, because I changed the time duration of the score table in EndMap and it worked.
2) @People who are using the change map algorithm - where exactly are you placing the algorithm, since the self commands are working?
I tried to create a new function and tested self commands there, they didn't work.
Does it need to be a different kind of function or what?