View Single Post
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-13-2017 , 07:40   Re: [META] ERROR: Failed to find memloc for regcmd 'orpheu'
Reply With Quote #22

Quote:
Originally Posted by aron9forever View Post
though mostly unrelated, consider that a much simpler workaround is to just slay the player if he spawns too late in the round
g_canspawn = true

at round start, set a task to set g_canspawn = false after some time you consider they shouldn't be able to spawn anymore

on ham_spawn post, check if g_canspawn, and if it's false, slay the player (you might want to do this with a slight delay, say, a 1 second task)



as a side-note, is this maybe possible (and simpler) with reAPI?
In that case, you would have to reset their deaths as well. Orpheu method is much simpler than that.
__________________
Spirit_12 is offline