How to create one input chat to insert only numbers
How to create one input chat to insert name or number.
Like if i need to make one plugin to send money or something else relative with quantity to somone. It would be great if someone give one example to set chat input to insert any amount or quantity as player wish... and if you guys know how to set one menu to select one player from all players from server. Like i want send X amout of money to Y player i say the command like /send and show to me one menu to select which player i want to send it and than it shows me one input chat to write the amount of money to send. |
Re: How to create one input chat to insert only numbers
1st you need to register_clcmd input_amount
Then send clcmd messagemode input_amount Retrieve the arguments in the input_money function. |
Re: How to create one input chat to insert only numbers
Quote:
|
Re: How to create one input chat to insert only numbers
Here is a demonstration
PHP Code:
|
Re: How to create one input chat to insert only numbers
Quote:
:fox: YOU ARE THE BEST!!! :fox: Thanks And how to get a list of players(like the list of players we get from amxmodmenu ban/kick option) to select to send amount? this 2 things will help me to do a lot of plugins and all thanks to you! I will name them with your name to honor you. |
Re: How to create one input chat to insert only numbers
Quote:
|
| All times are GMT -4. The time now is 04:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.