Works fine with orpheu but not with ham.
If you are interested, i'm using a multiforward to register bots so you don't have to exec multiple tasks through all plugins that need them.
Plugin then looks like this :
PHP Code:
#include <amxmodx>
#include <hamsandwich>
public plugin_init()
{
register_plugin("bla","bla","bla")
}
public cz_bot_ham_registerable( id )
{
RegisterHamFromEntity( Ham_Spawn, id, "BotSpawn", 1 )
}
public BotSpawn( id )
{
// your code here
}