player name
hi, how can I fix it? in the chat instead of the player's name writes Half Life Dedicated Server
Code:
new name[33] |
Re: player name
Show full code or at least the function
|
Re: player name
Quote:
|
Re: player name
Quote:
get_user_name(0, name, 32) get_user_name(id, name, 32) |
Re: player name
Quote:
PHP Code:
|
Re: player name
Quote:
|
Re: player name
do so
get_user_name(iPlayer, name, 32) |
Re: player name
You need to provide a valid index for the player in the get_user_name. Index 0 is the server so it will get the servers name.
You dont use '0' index to get everyones name, however I dont think you need to get everyones name in here, what for? Show the function if you want to get help. Dont send in private message to someone @Supremache What you did already explained by DJEathQuake |
Re: player name
Quote:
get_user_name (iPlayer, name, 32) seems to work |
Re: player name
If you had posted the full code, or probably even just the function, this would have been solved with only one reply instead of 8.
Generally, the more information/code you provide, the better and quicker advice you will get. |
| All times are GMT -4. The time now is 13:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.