How to request username to a player?
Hello there, I'm doing an account system and I want each player to use a unique username without using the console. I'd like to know how to ask them for the username they want for their account. For instance typing it on the chat.
|
Re: How to request username to a player?
hook chat or use OnClientSayCommand, use a boolean to determine whether or not the text typed in chat was a reply to the question or input
|
Re: How to request username to a player?
Quote:
|
Re: How to request username to a player?
Quote:
|
Re: How to request username to a player?
Quote:
|
Re: How to request username to a player?
Quote:
Code:
+--------- chat ----------+ |
Re: How to request username to a player?
Quote:
Let me quote from the docs... Quote:
Coding the example you gave us would be easier and more elegant with the OnClientSayCommand forward. |
Re: How to request username to a player?
Quote:
Thanks for clarification. |
All times are GMT -4. The time now is 05:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.