Position = {
[1] = {x,y,z},
[2] = {x,y,z},
[3] = {x,y,z},
}
addEventHandler("onPlayerWasted", root,
function()
setTimer(spawnPla, 1800, 1, source)
end
)
function spawnPla()
local x,y,z = unpack(Position[math.random(#Position)])
repeat until spawnPlayer ( source, x,y,z)
setCameraTarget(source, source)
end
# لـ 3 منأطق x y z بدال اول الكود في احداثيات الـ