my bad
addEventHandler("onPlayerWasted", root,
function()
local spawn23 = math.random(1, 3)
local teamDM = getPlayerTeam(source)
local player23 = source
if teamDM == DeathMatch then
if spawn23 == 1 then
setTimer(function()
spawnPlayer(player23, 206.875, 168.638671875, 1003.0234375, 150, 104, 3, 0, team23)
giveWeapon(player23, 31, 500)
end, 3000, 1)
elseif spawn23 == 2 then
setTimer(function()
spawnPlayer(player23, 252.208984375, 185.451171875, 1008.171875, math.random(0, 360), 107, 3, 0, team23)
giveWeapon(player23, 31, 500)
end, 3000, 1)
elseif spawn23 == 3 then
setTimer(function()
spawnPlayer(player23, 288.3740234375, 168.3642578125, 1007.171875, math.random(0, 360), 101, 3, 0, team23)
giveWeapon(player23, 31, 500)
end, 3000, 1)
end
end
end
)