Here's a test subject that I wrote to try and solve this issue. I think it could be quite useful to you. Although I still can't figure out why it won't instant spawn me.
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
#define m_iPlayerTeam 114
#define m_iJoinedState 121
#define STATE_INGAME 5
public plugin_init()
{
register_clcmd( "say /unspec", "cmd_UnSpec" );
}
public cmd_UnSpec( id )
{
set_pdata_int( id, m_iPlayerTeam, 2 );
set_pdata_int( id, m_iJoinedState, STATE_INGAME );
set_pev( id, pev_deadflag, DEAD_RESPAWNABLE );
ExecuteHam( Ham_CS_RoundRespawn, id );
}
__________________