+Source|> Posted August 15, 2018 Share Posted August 15, 2018 سلام عليكم ابي اسوي مهمة وابي اسوي السباون مختلف عشان محد يرسبن فوق احد محاولاتي positionSpawn = { {-1342.63623, -493.42276, 14.17188}, {-1346.38293, -480.58237, 14.17761}, {-1358.17273, -469.03412, 14.17188}, {-1363.95496, -471.81088, 14.17761}, {-1372.91296, -477.62204, 14.17761}, {-1379.52441, -487.14044, 14.17188}, {-1380.61511, -500.12457, 14.17188}, {-1368.32007, -497.55319, 14.17188}, } setElementPosition( localPlayer, positionSpawn[math.random(1, #positionSpawn)][1] ) Link to comment
Trefeor Posted August 15, 2018 Share Posted August 15, 2018 positionSpawn = { {-1342.63623, -493.42276, 14.17188}, {-1346.38293, -480.58237, 14.17761}, {-1358.17273, -469.03412, 14.17188}, {-1363.95496, -471.81088, 14.17761}, {-1372.91296, -477.62204, 14.17761}, {-1379.52441, -487.14044, 14.17188}, {-1380.61511, -500.12457, 14.17188}, {-1368.32007, -497.55319, 14.17188}, } setElementPosition( localPlayer, unpack(positionSpawn[math.random(1, #positionSpawn)]) ) Link to comment
N3xT Posted August 15, 2018 Share Posted August 15, 2018 (edited) ملاحظة بسيطة, إستعمال الماث راندوم ممكن يكرر نفس القيمة وهنا راح يرسبنون فوق بعض الأصح استعمال المتغيرات وتزيدها مع كل دخول لاعب Edited August 15, 2018 by N3xT Link to comment
Mr.Mostafa Posted August 15, 2018 Share Posted August 15, 2018 2 hours ago, Trefeor said: positionSpawn = { {-1342.63623, -493.42276, 14.17188}, {-1346.38293, -480.58237, 14.17761}, {-1358.17273, -469.03412, 14.17188}, {-1363.95496, -471.81088, 14.17761}, {-1372.91296, -477.62204, 14.17761}, {-1379.52441, -487.14044, 14.17188}, {-1380.61511, -500.12457, 14.17188}, {-1368.32007, -497.55319, 14.17188}, } setElementPosition( localPlayer, unpack(positionSpawn[math.random(1, #positionSpawn)]) ) هآدآ آتوقع ممكن آتنين يجي نفس آلقيمة حقت آلمآث رآندوم آلآفضل تسوي . لمآ يدخل آلآعب يروح آلسبآون رقم 1 ولمآ يدخل آلآعب آلتآني يروح سبآون رقم 2 , وآلخ Link to comment
Trefeor Posted August 15, 2018 Share Posted August 15, 2018 صحيح طريقتك مفيدة ، بس هو طلب تصحيح لكرده Link to comment
#Sn[i]pêŘ Posted August 15, 2018 Share Posted August 15, 2018 3 hours ago, +Source|> said: سلام عليكم ابي اسوي مهمة وابي اسوي السباون مختلف عشان محد يرسبن فوق احد محاولاتي positionSpawn = { {-1342.63623, -493.42276, 14.17188}, {-1346.38293, -480.58237, 14.17761}, {-1358.17273, -469.03412, 14.17188}, {-1363.95496, -471.81088, 14.17761}, {-1372.91296, -477.62204, 14.17761}, {-1379.52441, -487.14044, 14.17188}, {-1380.61511, -500.12457, 14.17188}, {-1368.32007, -497.55319, 14.17188}, } setElementPosition( localPlayer, positionSpawn[math.random(1, #positionSpawn)][1] ) انت عندك سرفر تكتيك وش دخل ذول عندك سرفر اخر ؟ Link to comment
+Source|> Posted August 15, 2018 Author Share Posted August 15, 2018 46 minutes ago, #SnpêŘ said: انت عندك سرفر تكتيك وش دخل ذول عندك سرفر اخر ؟ يب بالظبط بفتح سيرفر جديد نوع جديد سر 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now