اذا كان القيم مود اللي تستخدمه بلاي
عدل على ملف البلاي
[quote="فتى تبوك"][lua]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, X+math.random(1,5), Y+math.random(5,9), Z, 180, Skin, 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
)
بدل الـ X z y بالاحداثيات
وبدل الـ skin برقم الشخصيه
[/lua]
انا توني مبتدأ