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
  • entitylump
  • EntityLumpEntry
  • Insert
File

Insert

Last Updated2022-09-05
Created At2022-09-05

Inserts a new key / value pair at the given index, shifting the pair at that index and beyond up. If EntityLumpEntry.Length is passed in, this is an append operation.

native void Insert(int index, const char[] key, const char[] value)

Parameters

int index
Position, starting from 0.
const char[] key
New key name.
const char[] value
New value.

Return Value

void

Error

Index is out of bounds or entity lump is read-only.
Made with
1.4.0 b35d7e5 2026-09-25T02:06:02.447Z
by rumblefrog