This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.
My ULib/ULX versions (run "ulx version" in console):
ULib v..2.61
ULX v..3.71
Game mode(s) I am having this problem on: TTT
Lua errors shown in console, if any:
<insert errors here>
So, I run a TTT server and I would like it to at the beggining of the round, check for players in a group and if they are in it, slay them.
My script is in gamemode>gamemode>init.lua as follows:
local function BadBoyChecker(ply)
if GetRoundState() == ROUND_ACTIVE then
if ply:CheckGroup("badboys") then
ply:Kill()
else
end
Im not the best at lua so I may be making on obvious mistake, but am getting it correct in theory.