Player Name
Hey,I want to get the name of the player to show somewhere,
21. Code:
new name[get_user_name];It show following error Error: Syntax error in the expression, or invalid function call on line 21 Error: Invalid array size (negative or zero) on line 21 Error: Empty statement on line 21 Error: Too many error messages on one line on line 21 |
Re: Player Name
Search get_user_name function on wiki.
|
Re: Player Name
Quote:
|
Re: Player Name
then search again.
|
Re: Player Name
I solved that problem,But now tell me please,What is the command for "New User Connect to Server" or "OnPlayerConnect"
|
Re: Player Name
Again, there's a function wiki :}
It's client_connect(id)... |
Re: Player Name
only if you would search a bit .........
|
Re: Player Name
OnPlayerConnect is what i understand with client_putinserver(id). client_putinserver is a function which you can do stuff when the player has been connected IN THE SERVER and already is in. client_connect(id) is a function which you can do stuff while the player is connecting tho.
|
Re: Player Name
wiki : http://www.amxmodx.org/funcwiki.php
get_user_name : http://www.amxmodx.org/funcwiki.php?...name&go=search connect : http://www.amxmodx.org/funcwiki.php?...nect&go=search putinserver : http://www.amxmodx.org/funcwiki.php?...rver&go=search |
Re: Player Name
Sorry,I thought wiki.amxmodx.org :D
|
| All times are GMT -4. The time now is 00:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.