#Sven-Survival (Survival mode on ANY map)

1 messages · Page 1 of 1 (latest)

earnest smelt
#

You forgot the ClientDisconnect() condition. Might/maybe need g_Scheduler.SetTimeout() instead in case checkPlayersDead() returns true if the last player alive is counted as alive during the ClientDisconnect() hook. For you to try.

    if (resetTimerStopped && survivalActive && checkPlayersDead()) {
        @g_pThinkFunc = g_Scheduler.SetInterval("mapChanger", cvar_resetTime.GetInt());
    }
    return HOOK_CONTINUE;
}```
rapid vault
#

Is there any chance you could add an admin command to spawn checkpoints at the client coordinates (in this case the admin inside the part of the map he wants to make a checkpoint for) for maps that don't have them? I'd love it

ruby stream
#

How the timer of the survival works?

#

Like if you kill monsters it starts counting down for a respawn?

#

and if you stop the timer stops right?

ruby stream
#

oohh i see

#

i thought it was some "Reinforcerment" system

#

where i seen that do in another survival server

#

where if you die a countdown starts ticking for ppl to respawn (this works greatly because alot of maps dont have survival checkpoints)

#

but only ticks when you damage/kill monsters

#

otherwise it stops

ruby stream
#

what thing lets you that

#

the reload survival command?

ruby stream
#

huh thats awesome but a bit broken

#

i loved more the reinforcement system i mentioned though.

#

well it certainly depends the brokeness because if you cant go back to a current respawn point then the players are fucked