This document deals with framework for Half-life 1 plugin (e.g. bot) running with Metamod.
This document is good for understanding structure of a plugin. It describes connections between the Half-Life, metamod, game and plugin. It deals with exported functions, game API and engine API. It shows how these functions are called and how they cooperate. It also helps If you're lost in all these calls and hooks.
linky :
http://neuron.tuke.sk/~wagner/kxbot/...k-metamod.html
for all you lazy bastards :
read description here
Guide to classic framework is
here
... and expect koraXs bot framework source code in few weeks, which is something like HPB template, only it does support both metamod and non-metamod, and using C++, classes, namespaces and STL.