don't know if this is what you're trying to do but I wrote this script which will respawn a player, maybe it will help :
prep sdk call for Round Respawn :
PHP Code:
new Handle:hGameConf = INVALID_HANDLE
new Handle:hRoundRespawn = INVALID_HANDLE
public OnPluginStart()
{
hGameConf = LoadGameConfigFile("l4d")
StartPrepSDKCall(SDKCall_Player)
PrepSDKCall_SetFromConf(hGameConf, SDKConf_Virtual, "RoundRespawn")
hRoundRespawn = EndPrepSDKCall()
}
then call it when ever you need :
PHP Code:
SDKCall(hRoundRespawn, client)
you will need to set up the l4d offset in the 'gamedata' folder by creating l4d.txt with the following :
PHP Code:
"Games"
{
"left4dead"
{
"Offsets"
{
"RoundRespawn"
{
"windows" "488"
"linux" "489"
}
}
}
}