Quote:
Originally Posted by Rolnaaba
Code:
client_cmd(id, "comand #1"); client_cmd(id, "comand #2");
or you may need a delay:
Code:
client_cmd(id, "comand #1"); set_task(0.1, "comand2"); public comand2() { client_cmd(id, "comand #2"); }
something to that effect.
|
I tried that, but every time it changes for the second time, it changes a user info, who calls again the function client_infochanged(), so it's change the name again, and again, and again xD
Quote:
Originally Posted by stupok69
You're making this more difficult than it needs to be:
Code:
client_cmd(id, "name Arion;wait;name L0lo")
OR maybe even ...
client_cmd(id, "name Arion;name L0lo")
|
Yay, that works! But I needed to put 2 waits to work ("name Arion; wait; wait; name L0Lo").. but from time to time it changes the name again, maibe because a info of the player has changed.. Isn't there a way to use client_connect or client_putinserver instead of client_infochanged? Or to use a condition so the function will run only one time?