Raised This Month: $ Target: $400
 0% 

If cvar is enabled, hide /custom command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AmXDusT
Member
Join Date: Feb 2019
Location: Italy / Albania
Old 09-15-2019 , 03:18   Re: If cvar is enabled, hide /custom command
Reply With Quote #5

Space works in cvars.

Create a big enough string in your function that can get all the cvar string and use get_pcvar_string to copy it there.

Check string's length to see if it has anything in it ( "strlen( your_string )" ) and print either the string or your custom message (through client_print, like LearninG's sample)
AmXDusT 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 17:25.


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