Pass the player name on the command line when launching the game

counter-strike

Is it possible to pass the name parameter on the command line when launching Counter-Strike?

I have tried this and it does not work:

-nojoy -nomaster -nointro -game cstrike -appid 10 -gl -steam +nameExample

Best Answer

The command in console is no longer name, but "setinfo name" , so what you want to add is then:

+setinfo name "Name goes here"