The client command 'record' is not a server-side command and thus cannot be detected by the server (amxx).
When a client begins recording a demo, however, his hud is reset - he receives the message ResetHUD from the server. So you could hook the ResetHUD message and make sure he is not spawning. (ex, check close proximity for a spawn point)