As the normal slay using ForceClientSuicide() isn't working for players inside the spawn area in OrangeBox games like DOD:S, I looked for a workaround. But there wasn't a good one.
Mine uses DukeHacks extension and has exactly the same effect as ForcePlayerSuicide().
PHP Code:
#include <sdktools>
#include <dukehacks>
stock SuicideClient(client)
{
ForcePlayerSuicide(client);
if (IsPlayerAlive(client))
{ /* Inside spawn area */
SetEntityHealth(client, 0);
dhTakeDamage(client, client, client, 0.0, DMG_PREVENT_PHYSICS_FORCE | DMG_NEVERGIB);
}
}