Hi friend I need some help.
I need that this respawn only work 10 seconds in the round start.
PHP Code:
public death_msg()
{
{
new vIndex = read_data(2)
new svIndex[2]
svIndex[0] = vIndex
set_task(2.0,"respawn",0,svIndex,2)
}
return PLUGIN_CONTINUE
}
public respawn(svIndex[])
{
new vIndex = svIndex[0]
if(get_user_team(vIndex) == 3 || is_user_alive(vIndex))
return PLUGIN_CONTINUE
spawn(vIndex)
return PLUGIN_CONTINUE
}
__________________