// entity_callback(const szValue[], entid, kvdid)
// worldspawn_callback(bKeyExists, const szValue[])
native register_keyvalue(szClassName[32], szKeyName[64], szFunction[32]);
get plugin#include <amxmodx>
#include <kve>
...
public plugin_precache()
{
register_keyvalue("worldspawn", "skyname", "handle_worldspawn_skyname");
register_keyvalue("game_score", "points", "handle_game_score_points");
}
public handle_worldspawn_skyname(bKeyExists, const szValue[])
{
...
}
public handle_game_score_points(const szValue[], entid, kvdid)
{
// Within here, you can change the key or value using fakemeta's set_kvd
...
}
...