name function with double name arg
PHP Code:
It seems that it only uses the second argument and not the first. |
Re: name function with double name arg
If you want to change player name user client_cmd instead set_user_info.
If client ID=sid in your script... PHP Code:
|
Re: name function with double name arg
PHP Code:
|
Re: name function with double name arg
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 |
Re: name function with double name arg
PHP Code:
|
Re: name function with double name arg
Yes that was exactly what the guy above wrote and it did not work but thanks for your answer anyway.
|
Re: name function with double name arg
Use setinfo:
Code:
|
Re: name function with double name arg
@Seta, you can't format in set_user_info().
PHP Code:
|
Re: name function with double name arg
Thx for your answer.
That was the function i started with first and tried it just as you wrote but it seems that the function cant handle all that parameters. gsop.cpp(460) : error 088: number of arguments does not match definition |
Re: name function with double name arg
Quote:
|
| All times are GMT -4. The time now is 00:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.