Thx for your answers.
The thing is that the set_user_info can execute proper earlier then the client_cmd and that is why i am using it. Dont know why really but it seems that the client_cmd wont execute when a player is not in a team. I am also using an update function which runs every 10 minutes but i want the name to be changed on connect and not 10 seconds later if you know what i mean
Thanks guys