3rd Party LibrariesRecent AdditionsHandles Parser
Discord
  • admin
  • adminmenu
  • adt_array
  • adt_stack
  • adt_trie
  • banning
  • basecomm
  • bitbuffer
  • clientprefs
  • clients
  • commandfilters
  • commandline
  • console
  • convars
  • core
  • cstrike
  • datapack
  • dbi
  • dhooks
  • entity
  • entity_prop_stocks
  • entitylump
  • events
  • files
  • float
  • functions
  • geoip
  • halflife
  • handles
  • helpers
  • keyvalues
  • lang
  • logging
  • mapchooser
  • menus
  • nextmap
  • profiler
  • protobuf
  • regex
  • sdkhooks
  • sdktools
  • sdktools_client
  • sdktools_engine
  • sdktools_entinput
  • sdktools_entoutput
  • sdktools_functions
  • sdktools_gamerules
  • sdktools_hooks
  • sdktools_sound
  • sdktools_stocks
  • sdktools_stringtables
  • sdktools_tempents
  • sdktools_tempents_stocks
  • sdktools_trace
  • sdktools_variant_t
  • sdktools_voice
  • sorting
  • sourcemod
  • string
  • testing
  • textparse
  • tf2
  • tf2_stocks
  • timers
  • topmenus
  • usermessages
  • vector
  • adt_trie
  • SetTrieString
File

SetTrieString

Last Updated2013-08-29
Created At2007-12-10

Sets a string value in a Map, either inserting a new entry or replacing an old one.

native bool SetTrieString(Handle map, const char[] key, const char[] value, bool replace = true)

Parameters

Handle map
Map Handle.
const char[] key
Key string.
const char[] value
String to store.
bool replace
If false, operation will fail if the key is already set.

Return Value

bool True on success, false on failure.

Error

Invalid Handle.
Made with
1.4.0 b35d7e5 2026-09-25T02:07:42.505Z
by rumblefrog