client_cmd help
What is wrong?
PHP Code:
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler. |
Re: client_cmd help
is_user_admin() returns a boolean value, the same as is_user_bot() and is_user_hltv(). You don't compare it to ADMIN_* constants.
You can't change their name on client_connect() they are not in the server yet, use client_putinserver(). Also, when changing names from the server you should always use set_user_info(id, "name", szNewName). |
Re: client_cmd help
You dont need return on client_connect()
Try this Code:
|
Re: client_cmd help
Nothing, same error...
|
Re: client_cmd help
Quote:
|
Re: client_cmd help
Which is line 10 in the code shown above?
|
Re: client_cmd help
Quote:
But, I dont get it, what boolean? I always use is_user_admin(id) because in include is is_user_admin(index) and that mean my index is ID |
Re: client_cmd help
Quote:
|
Re: client_cmd help
Quote:
|
| All times are GMT -4. The time now is 07:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.