botshara Posted November 28, 2013 Share Posted November 28, 2013 How to set for these all SetElementInterior 24 ? function interjers () -- Joosty createObject(14444,0,0,39.25,0,0,0,24), createObject(14447,17.743886947632,9.8645553588867,44.16029548645,0,0,0), createObject(2204,19.494140625,12.873046875,39.4296875,0,0,271.74682617188), createObject(2200,10.645572662354,11.300369262695,39.4296875,0,0,90), createObject(2204,19.6884765625,10.908203125,39.4296875,0,0,91.741333007813), createObject(2200,25.614032745361,12.748477935791,39.4296875,0,0,270.75), createObject(2180,16.66547203064,11.957201004028,39.4296875,0,0,0.2471923828125), createObject(2180,21.960477828979,12.021797180176,39.4296875,0,0,0.2471923828125), createObject(3859,19.535179138184,12.772479057312,40.831754684448,0,0,198.49548339844), createObject(1714,17.138763427734,12.936923980713,39.4296875,0,0,0), createObject(1714,22.464965820313,12.992523193359,39.4296875,0,0,0), createObject(2190,17.540489196777,11.59593296051,40.231340408325,0,0,204.99938964844), createObject(2190,22.898059844971,11.679741859436,40.231340408325,0,0,204.99938964844), createObject(2249,16.361133575439,12.003992080688,40.898792266846,0,0,268.99475097656), createObject(2250,21.6337890625,12.029296875,40.676656723022,0,0,271.49963378906), createObject(2194,19.2412109375,12.861328125,41.503408432007,0,0,0), createObject(1569,11.686566352844,10.020316123962,39.4296875,0,0,0.7470703125), createObject(1569,23.2516746521,10.190937042236,39.4296875,0,0,0.7415771484375), createObject(2184,28.33203125,10.271484375,43.806510925293,0,0,272.24670410156), createObject(1714,29.868679046631,9.1981220245361,43.8046875,0,0,270), createObject(1714,27.392879486084,9.9875717163086,43.8046875,0,0,88), createObject(1714,27.412746429443,8.4638385772705,43.8046875,0,0,87.994995117188), createObject(2648,29.527770996094,12.137861251831,44.853710174561,0,0,0), createObject(2648,28.605808258057,12.140626907349,44.853710174561,0,0,0), createObject(2648,27.700630187988,12.177735328674,44.853710174561,0,0,0), createObject(2190,28.789922714233,10.429923057556,44.582248687744,0,0,34), createObject(2161,30.88317489624,6.4854249954224,43.78727722168,0,0,179.5), createObject(2164,31.581113815308,11.366875648499,43.799077987671,0,0,270), createObject(2247,28.80694770813,8.2175703048706,45.042255401611,0,0,20.25), createObject(11472,21.193359375,1.7373046875,45.93800163269,0,0,89.247436523438), createObject(11472,8.6669921875,1.8955078125,45.953289031982,0,0,89.247436523438), createObject(1569,25.496845245361,-8.2728748321533,39.4296875,0,0,89.994506835938), createObject(1811,24.790008544922,12.985897064209,44.403787612915,0,0,0), createObject(1811,24.793825149536,12.040700912476,44.403787612915,0,0,0), createObject(1811,24.640426635742,8.7747077941895,40.055992126465,0,0,0), createObject(1811,24.674139022827,7.8783135414124,40.055992126465,0,0,0), createObject(1811,24.690132141113,7.033109664917,40.055992126465,0,0,0), createObject(2308,24.850658416748,-11.329561233521,39.4296875,0,0,180), createObject(1714,24.087694168091,-11.549967765808,39.4296875,0,0,47.999267578125), createObject(2167,22.50089263916,-12.902936935425,39.4296875,0,0,180.24475097656), createObject(2171,21.313259124756,-12.331203460693,39.4296875,0,0,179.5), createObject(1714,20.735082626343,-11.517347335815,39.4296875,0,0,359.99450683594), createObject(2161,19.499044418335,-12.829899787903,39.4296875,0,0,179.24743652344), createObject(2964,-2.9261517524719,11.36141204834,39.4296875,0,0,42), createObject(2171,17.874561309814,-12.331367492676,39.4296875,0,0,179.48913574219), createObject(1714,17.384159088135,-11.410624504089,39.4296875,0,0,359.98901367188), createObject(2190,21.226121902466,-12.76647567749,40.219264984131,0,0,212.24481201172), createObject(2190,24.754346847534,-12.487965583801,40.219264984131,0,0,190.24475097656), createObject(2190,17.60973739624,-12.66236114502,40.219264984131,0,0,190.24475097656), createObject(1502,25.45703125,9.970703125,43.812885284424,0,0,270), createObject(3859,25.4755859375,5.8466796875,46.549921035767,0,0,196.99584960938), createObject(3859,25.486328125,12.5615234375,46.549921035767,0,0,196.99035644531), createObject(3859,23.14638710022,10.203003883362,40.831754684448,0,0,287.99011230469), createObject(3859,17.918050765991,10.119235038757,40.831754684448,0,0,287.99011230469), createObject(3859,12.684841156006,10.032159805298,40.831754684448,0,0,287.99011230469), createObject(1569,16.621646881104,10.133482933044,39.4296875,0,0,0.7470703125), createObject(2180,12.355867385864,11.963963508606,39.4296875,0,0,0.2471923828125), createObject(1714,12.85727596283,12.932424545288,39.4296875,0,0,0), createObject(2250,12.18421459198,11.978733062744,40.676656723022,0,0,271.49963378906), createObject(2190,13.302311897278,11.591170310974,40.231340408325,0,0,204.99938964844), createObject(2204,15.15093421936,12.76876449585,39.4296875,0,0,271.74682617188), createObject(2194,14.938453674316,12.869654655457,41.503408432007,0,0,0), createObject(2204,15.21821308136,10.803502082825,39.4296875,0,0,91.741333007813), createObject(3859,15.173049926758,12.694979667664,40.831754684448,0,0,198.49548339844), createObject(14414,27.796976089478,-1.6132144927979,36.229516983032,0,0,0), createObject(2637,20.970121383667,3.6264419555664,39.834428787231,0,0,0), createObject(2637,19.023698806763,3.6263189315796,39.834428787231,0,0,0), createObject(2637,17.095853805542,3.6267607212067,39.834428787231,0,0,0), createObject(1714,21.083591461182,4.9590368270874,39.4296875,0,0,0), createObject(1714,19.599321365356,4.9420609474182,39.4296875,0,0,0), createObject(1714,18.084047317505,4.9203114509583,39.4296875,0,0,0), createObject(1714,16.611221313477,4.9168720245361,39.4296875,0,0,1.5), createObject(1714,16.621683120728,2.4124364852905,39.4296875,0,0,180.49963378906), createObject(1714,18.085639953613,2.3997132778168,39.4296875,0,0,180.49438476563), createObject(1714,19.606678009033,2.3485786914825,39.4296875,0,0,180.49438476563), createObject(1714,21.174686431885,2.3805546760559,39.4296875,0,0,180.49438476563), createObject(1714,15.432366371155,3.6396882534027,39.4296875,0,0,90.494384765625), createObject(1569,25.499923706055,-5.2776041030884,39.4296875,0,0,269.48913574219), createObject(1716,11.035710334778,-3.8979225158691,39.4296875,0,0,0), createObject(1716,11.016441345215,-2.6573250293732,39.4296875,0,0,0), createObject(1716,11.002861976624,-1.4150018692017,39.4296875,0,0,0), createObject(1716,10.794184684753,-0.3363476395607,39.4296875,0,0,0), createObject(1716,10.077385902405,0.71491342782974,39.4296875,0,0,0), createObject(1209,3.5338535308838,-5.8809366226196,39.4296875,0,0,89.75), createObject(955,3.4059383869171,-4.6048474311829,39.783235549927,0,0,91.25) end addEventHandler("onResourceStart", resourceRoot, interjers) Link to comment
myonlake Posted November 28, 2013 Share Posted November 28, 2013 This is most likely the easiest way to do it. Server-side local objects = { {14444, 0, 0, 39.25, 0, 0, 0}, {14447, 17.743886947632, 9.8645553588867, 44.16029548645, 0, 0, 0}, {2204, 19.494140625, 12.873046875, 39.4296875, 0, 0, 271.74682617188}, {2200, 10.645572662354, 11.300369262695, 39.4296875, 0, 0, 90}, {2204, 19.6884765625, 10.908203125, 39.4296875, 0, 0, 91.741333007813}, {2200, 25.614032745361, 12.748477935791, 39.4296875, 0, 0, 270.75}, {2180, 16.66547203064, 11.957201004028, 39.4296875, 0, 0, 0.2471923828125}, {2180, 21.960477828979, 12.021797180176, 39.4296875, 0, 0, 0.2471923828125}, {3859, 19.535179138184, 12.772479057312, 40.831754684448, 0, 0, 198.49548339844}, {1714, 17.138763427734, 12.936923980713, 39.4296875, 0, 0, 0}, {1714, 22.464965820313, 12.992523193359, 39.4296875, 0, 0, 0}, {2190, 17.540489196777, 11.59593296051, 40.231340408325, 0, 0, 204.99938964844}, {2190, 22.898059844971, 11.679741859436, 40.231340408325, 0, 0, 204.99938964844}, {2249, 16.361133575439, 12.003992080688, 40.898792266846, 0, 0, 268.99475097656}, {2250, 21.6337890625, 12.029296875, 40.676656723022, 0, 0, 271.49963378906}, {2194, 19.2412109375, 12.861328125, 41.503408432007, 0, 0, 0}, {1569, 11.686566352844, 10.020316123962, 39.4296875, 0, 0, 0.7470703125}, {1569, 23.2516746521, 10.190937042236, 39.4296875, 0, 0, 0.7415771484375}, {2184, 28.33203125, 10.271484375, 43.806510925293, 0, 0, 272.24670410156}, {1714, 29.868679046631, 9.1981220245361, 43.8046875, 0, 0, 270}, {1714, 27.392879486084, 9.9875717163086, 43.8046875, 0, 0, 88}, {1714, 27.412746429443, 8.4638385772705, 43.8046875, 0, 0, 87.994995117188}, {2648, 29.527770996094, 12.137861251831, 44.853710174561, 0, 0, 0}, {2648, 28.605808258057, 12.140626907349, 44.853710174561, 0, 0, 0}, {2648, 27.700630187988, 12.177735328674, 44.853710174561, 0, 0, 0}, {2190, 28.789922714233, 10.429923057556, 44.582248687744, 0, 0, 34}, {2161, 30.88317489624, 6.4854249954224, 43.78727722168, 0, 0, 179.5}, {2164, 31.581113815308, 11.366875648499, 43.799077987671, 0, 0, 270}, {2247, 28.80694770813, 8.2175703048706, 45.042255401611, 0, 0, 20.25}, {11472, 21.193359375, 1.7373046875, 45.93800163269, 0, 0, 89.247436523438}, {11472, 8.6669921875, 1.8955078125, 45.953289031982, 0, 0, 89.247436523438}, {1569, 25.496845245361,-8.2728748321533, 39.4296875, 0, 0, 89.994506835938}, {1811, 24.790008544922, 12.985897064209, 44.403787612915, 0, 0, 0}, {1811, 24.793825149536, 12.040700912476, 44.403787612915, 0, 0, 0}, {1811, 24.640426635742, 8.7747077941895, 40.055992126465, 0, 0, 0}, {1811, 24.674139022827, 7.8783135414124, 40.055992126465, 0, 0, 0}, {1811, 24.690132141113, 7.033109664917, 40.055992126465, 0, 0, 0}, {2308, 24.850658416748,-11.329561233521, 39.4296875, 0, 0, 180}, {1714, 24.087694168091,-11.549967765808, 39.4296875, 0, 0, 47.999267578125}, {2167, 22.50089263916,-12.902936935425, 39.4296875, 0, 0, 180.24475097656}, {2171, 21.313259124756,-12.331203460693, 39.4296875, 0, 0, 179.5}, {1714, 20.735082626343,-11.517347335815, 39.4296875, 0, 0, 359.99450683594}, {2161, 19.499044418335,-12.829899787903, 39.4296875, 0, 0, 179.24743652344}, {2964,-2.9261517524719, 11.36141204834, 39.4296875, 0, 0, 42}, {2171, 17.874561309814,-12.331367492676, 39.4296875, 0, 0, 179.48913574219}, {1714, 17.384159088135,-11.410624504089, 39.4296875, 0, 0, 359.98901367188}, {2190, 21.226121902466,-12.76647567749, 40.219264984131, 0, 0, 212.24481201172}, {2190, 24.754346847534,-12.487965583801, 40.219264984131, 0, 0, 190.24475097656}, {2190, 17.60973739624,-12.66236114502, 40.219264984131, 0, 0, 190.24475097656}, {1502, 25.45703125, 9.970703125, 43.812885284424, 0, 0, 270}, {3859, 25.4755859375, 5.8466796875, 46.549921035767, 0, 0, 196.99584960938}, {3859, 25.486328125, 12.5615234375, 46.549921035767, 0, 0, 196.99035644531}, {3859, 23.14638710022, 10.203003883362, 40.831754684448, 0, 0, 287.99011230469}, {3859, 17.918050765991, 10.119235038757, 40.831754684448, 0, 0, 287.99011230469}, {3859, 12.684841156006, 10.032159805298, 40.831754684448, 0, 0, 287.99011230469}, {1569, 16.621646881104, 10.133482933044, 39.4296875, 0, 0, 0.7470703125}, {2180, 12.355867385864, 11.963963508606, 39.4296875, 0, 0, 0.2471923828125}, {1714, 12.85727596283, 12.932424545288, 39.4296875, 0, 0, 0}, {2250, 12.18421459198, 11.978733062744, 40.676656723022, 0, 0, 271.49963378906}, {2190, 13.302311897278, 11.591170310974, 40.231340408325, 0, 0, 204.99938964844}, {2204, 15.15093421936, 12.76876449585, 39.4296875, 0, 0, 271.74682617188}, {2194, 14.938453674316, 12.869654655457, 41.503408432007, 0, 0, 0}, {2204, 15.21821308136, 10.803502082825, 39.4296875, 0, 0, 91.741333007813}, {3859, 15.173049926758, 12.694979667664, 40.831754684448, 0, 0, 198.49548339844}, {14414, 27.796976089478,-1.6132144927979, 36.229516983032, 0, 0, 0}, {2637, 20.970121383667, 3.6264419555664, 39.834428787231, 0, 0, 0}, {2637, 19.023698806763, 3.6263189315796, 39.834428787231, 0, 0, 0}, {2637, 17.095853805542, 3.6267607212067, 39.834428787231, 0, 0, 0}, {1714, 21.083591461182, 4.9590368270874, 39.4296875, 0, 0, 0}, {1714, 19.599321365356, 4.9420609474182, 39.4296875, 0, 0, 0}, {1714, 18.084047317505, 4.9203114509583, 39.4296875, 0, 0, 0}, {1714, 16.611221313477, 4.9168720245361, 39.4296875, 0, 0, 1.5}, {1714, 16.621683120728, 2.4124364852905, 39.4296875, 0, 0, 180.49963378906}, {1714, 18.085639953613, 2.3997132778168, 39.4296875, 0, 0, 180.49438476563}, {1714, 19.606678009033, 2.3485786914825, 39.4296875, 0, 0, 180.49438476563}, {1714, 21.174686431885, 2.3805546760559, 39.4296875, 0, 0, 180.49438476563}, {1714, 15.432366371155, 3.6396882534027, 39.4296875, 0, 0, 90.494384765625}, {1569, 25.499923706055,-5.2776041030884, 39.4296875, 0, 0, 269.48913574219}, {1716, 11.035710334778,-3.8979225158691, 39.4296875, 0, 0, 0}, {1716, 11.016441345215,-2.6573250293732, 39.4296875, 0, 0, 0}, {1716, 11.002861976624,-1.4150018692017, 39.4296875, 0, 0, 0}, {1716, 10.794184684753,-0.3363476395607, 39.4296875, 0, 0, 0}, {1716, 10.077385902405, 0.71491342782974, 39.4296875, 0, 0, 0}, {1209, 3.5338535308838,-5.8809366226196, 39.4296875, 0, 0, 89.75}, {955, 3.4059383869171,-4.6048474311829, 39.783235549927, 0, 0, 91.25} } addEventHandler("onResourceStart", resourceRoot, function() for _,v in ipairs(objects) do local object = createObject(unpack(v)) setElementInterior(object, 24) end end ) 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