PHP Code:
public client_command(id)
{
if(g_bPregame)
{
new szCommand[32];
read_argv(0,szCommand,charsmax(szCommand));
strtolower(szCommand);
if(containi(szCommand,"vban")) PUG_HamKilledPost(id); // Infinite re-spawn fix
}
return PLUGIN_CONTINUE;
}
Its correct to hook a internal client "vban" command to fix a infinite re-spawn?
If the player connect to server and join in any team after X seconds passed in round, its not re-spawn automatically.
Some suggestion?
__________________