Thread: [Solved] Get entity KeyValue
View Single Post
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 05-06-2020 , 10:21   Get entity KeyValue
Reply With Quote #1

There are functions to set entity keyvalues:
DispatchKeyValue
DispatchKeyValueFloat
DispatchKeyValueVector
Which internaly use servertools->KeyValue. And I'm looking for a way to get the values from entities.
In C++ I can use servertools->GetKeyValue, which works and gives correct results.
How can I do that in sourcemod?
I know there are GetEnt* to get sendprop and datamap values but they don't cover all data.

Last edited by kadet.89; 05-08-2020 at 05:30.
kadet.89 is offline
Send a message via Skype™ to kadet.89