View Single Post
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