MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / AddString

Method AddString

core/sm_memtable.h:121–124  ·  view source on GitHub ↗

* Adds a string to the string table and returns its index. */

Source from the content-addressed store, hash-verified

119 * Adds a string to the string table and returns its index.
120 */
121 int AddString(const char *string)
122 {
123 return AddString(string, strlen(string));
124 }
125
126 /**
127 * Adds a string to the string table and returns its index.

Callers 8

smn_PbAddStringFunction · 0.45
ReadSMC_KeyValueMethod · 0.45
AddLanguageMethod · 0.45
CreateAdminMethod · 0.45
AddGroupMethod · 0.45
BindAdminIdentityMethod · 0.45
SetAdminPasswordMethod · 0.45
CreateTrieSnapshotFunction · 0.45

Calls 2

AddStringFunction · 0.85
CreateMemMethod · 0.45

Tested by

no test coverage detected