I’m hoping at least one of you lovely people can help me with a script.
I was wondering how I could make a script where it would respawn all players after a round ends for post-round deathmatch. Then, if possible, respawn all players again every 5 seconds or so.
If you don’t wanna do the whole script, just point me in the right direction please.
[editline]20th January 2016[/editline]
I have this so far; I don’t know if it will work though. I’m quite new to creating new scripts, but I’m trying to learn haha.
if (SERVER) then AddCSLuaFile() local roundEnd = hook.Call("TTTEndRound") if roundEnd == WIN_INNOCENT or WIN_TRAITOR or WIN_TIMELIMIT then RunConsoleCommand("ulx", "respawn", "*") end end