Commands:
sm_get_pointer - Get pointer for SDKCalls also detour, should be used if pointer == 0.
sm_downloadables_restore - Restore downloadables stringtable items.
sm_downloadables_reset - Delete all strings in downloadables stringtable.
sm_delete_all - Delete all stringtables.
sm_delete_all_strings - Delete all strings from all stringtables.
sm_dump_st - Dump the list of stringtables to console and ALL tables to log file.
sm_dump_sti - Dump the items of specified stringtable to console and log file
Credits:
dragokas - for his idea and post
Changelog:
0.0.1 - Added support l4d1 (Need test)
0.0.2 - Added natives
0.0.3 - Updated signature for Linux
0.0.4 - Updated signature for Linux
Spoiler
PHP Code:
/**
* @brief Get pointer of s_NetworkStringTableServer
*
* @return s_NetworkStringTableServer pointer.
*/
native int StringtableGetPointer();
/**
* @brief Delete all string from stringtable
*
* @param index of stringtable.
* @return true if all string has been deleted, false else.
*/
native bool StringtableReset(int index);
/**
* @brief Gets name of stringtable by index.
*
* @param index of stringtable.
* @param buffer to store name.
* @param size of buffer.
* @return no return.
*/
native void StringtableGetNameByIndex(int index, char[] szBuffer, int size);