Raised This Month: $ Target: $400
 0% 

Custom text field?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ZombieBot
Junior Member
Join Date: Mar 2011
Old 05-12-2011 , 01:51   Re: Custom text field?
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
"Custom text field" like you'd type into say but you actually type in a command ?

You just create a console command, example "CustomReason" and when you send your ban command or whatever, send cmd to client: "messagemode CustomReason", that'll show the user "CustomReason: " in top left corner of screen and he can type something there.

Then you just get the input client typed in CustomReason's callback function, I recommend using read_args() instead of read_argv() if you have only one long string that could contain other double quotes... anyway, just use read_args()

Simple.
Thx SO MUCH!
ZombieBot is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode