Editor ^ لتصميم المابات
^
^-^ لتثبيت البداية *
addEventHandler("onResourceStart", resourceRoot,
function()
resetMapInfo()
for i,player in ipairs(getElementsByType("player")) do
spawn(player)
end
end
)
function spawn(player)
if not isElement(player) then return end
repeat until spawnPlayer ( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0)
fadeCamera(player, true)
setCameraTarget(player, player)
showChat(player, true)
end
addEventHandler("onPlayerJoin", root,
function()
spawn(source)
end
)
addEventHandler("onPlayerWasted", root,
function()
setTimer(spawn, 1800, 1, source)
end
)
-client
( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0)
X,Y,Z ^ - غير