[Include] RemoteRCON - Managing external RCON packets!
#11

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
If your command system is in progress, you can simply comment out the "g_icommanddata" array defined in your enumerator. Also, using format function to copy strings is a bad practice! Use strcpy instead.
Thanks for the feedback! This was done a while ago(around maybe a year or so) where I wasn't as aware of the best practice - I'd love any further insight you have.

I've updated it to use your strcpy function. It will be automatically included into the script if INCLUDE_STRCPY_FALSE is not defined. If it is however defined it will simply be placed in as a static stock so it doesn't input itself throughout the rest of the script outside of the include. I have also added three functions to detect the status of the primary functions:
  • stock bool: RCON_IsWhitelistingEnabled()
  • stock bool: RCON_IsRemoteRCONEnabled()
  • stock bool: RCON_IsLoggingEnabled()
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)