Thread: [Solved] Get entity KeyValue
View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-07-2020 , 06:48   Re: Get entity KeyValue
Reply With Quote #6

If the data is stored in the entity somewhere you can get it with GetEntData* (although most keys that just store data generally use named props because it is easier - and that will be everything GetKeyValue works with as well), if the data isn't stored obviously you can't read it back directly - but you should be able to use DHooks to hook the setter.
__________________
asherkin is offline