get_user_name [shows server name] [help]
I use this script, but instead the name of the player earning the name of my server :cry: if I might help a little to optimize
PHP Code:
|
Re: get_user_name [shows server name] [help]
There is no index passed in DeathMsg. You need to retrive the index with read_data(). http://wiki.amxmodx.org/Half-Life_1_...vents#DeathMsg
|
Re: get_user_name [shows server name] [help]
i resolved the problem with this code
PHP Code:
|
Re: get_user_name [shows server name] [help]
delte
|
Re: get_user_name [shows server name] [help]
Good but the id in the public of the DeathMsg is useless. The DeathMsg is a global event.
|
Re: get_user_name [shows server name] [help]
As Jon said, you must use read_data. Also, read http://www.amxmodx.org/funcwiki.php?go=func&id=165 for information on get_user_name. A note is written in the comments section stating that if the specified ID is 0, the server's name is returned (your variable is not used by DeathMsg, therefore it is 0).
|
Re: get_user_name [shows server name] [help]
Quote:
Last version PHP Code:
|
Re: get_user_name [shows server name] [help]
Please read vitorrd.
|
Re: get_user_name [shows server name] [help]
Not best..
PHP Code:
|
Re: get_user_name [shows server name] [help]
I hope it's a joke xPaw.
|
| All times are GMT -4. The time now is 22:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.