Note: Use the plugin version instead: https://forums.alliedmods.net/showthread.php?p=2588562
This extension was made with the idea of allowing easy transfer of information between maps/mappers and plugins.
Mappers can add keys/values for entities through hammer by clicking "Smart Edit" and filling in the boxes:
Then, once the map is loaded on the server, the extension will pick up any keys/values that the server tries to throw out, and provides a native to allow plugins to easily get them.
Following from the example of the image above:
PHP Code:
char tier[8];
bool success = GetCustomKeyValue( 0, "mod_tier", tier, sizeof( tier ) );
PrintToServer( "Map tier: %i (%s)", StringToInt( tier ), success ? "success" : "failure" );
// output: "Map tier: 3 (success)"