local spawns = {
{ -1569.2819824219, 1196.4373779297, 7.1865711212158, 90 },
{ -1661.0703125, 1212.8386230469, 32.897026062012, 90 },
{ -1684.5240478516, 1360.486328125, 7.1721897125244, 90 },
{ -1768.2357177734, 1175.0441894531, 25.125, 90 }
}
function spawn( player )
local rnd = math.random( 1, #spawns )
setElementPosition( player, spawns[rnd][1], spawns[rnd][2], spawns[rnd][3] )
end
addCommandHandler("pvp",spawn)