SaedAmer Posted April 23, 2016 Posted April 23, 2016 دلوقتي معايه جريد لست ازاي اضيف كل عربيات العبه و الاي دي بتاعهم؟
nxFairlywell Posted April 23, 2016 Posted April 23, 2016 vehicleIDS = { 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 581, 510, 509, 522, 481, 461, 462, 448, 521, 468, 463, 586, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 523, 470, 598, 499, 588, 609, 403, 498, 514, 524, 423, 532, 414, 578, 443, 486, 515, 406, 531, 573, 456, 455, 459, 543, 422, 583, 482, 478, 605, 554, 530, 418, 572, 582, 413, 440, 536, 575, 534, 567, 535, 576, 412, 402, 542, 603, 475, 449, 537, 538, 570, 441, 464, 501, 465, 564, 568, 557, 424, 471, 504, 495, 457, 539, 483, 508, 571, 500, 444, 556, 429, 411, 541, 559, 415, 561, 480, 560, 562, 506, 565, 451, 434, 558, 494, 555, 502, 477, 503, 579, 400, 404, 489, 505, 479, 442, 458, 606, 607, 610, 590, 569, 611, 584, 608, 435, 450, 591, 594 } for _ , id in ipairs ( vehcileIDS ) do local name = getVehicleNameFromModel ( id ) local row = guiGridListAddRow( GridList ) guiGridListSetItemText( GridList, row, 1, name,false, false ) guiGridListSetItemText( GridList, row, 2, tostring(id),false, false ) end Discord ID : nxFairlywell#6895
iMr.WiFi..! Posted April 23, 2016 Posted April 23, 2016 اليوم اقدم لكم وظيفة changeGridListItemToVehiclesName فايدة الوظيفة : تحول قيم الجريد ليست الى اسماء سيارات اللعبه Syntax : bool changeGridListItemToVehiclesName ( element gridlist, int column ) الوظيفة الاصلية كانت اسماء لاعبين من قبل عناد بس انا معدلها وخليتها اسماء سيارات بسم الله نبدأ Code : changeGridListItemToVehiclesName = function ( GridList, Column ) if GridList and Column then -- Check Parematers if getElementType ( GridList ) == "gui-gridlist" then -- Check The Type of ' GridList ' if guiGridListClear ( GridList ) then -- Clear GridList for i, v in next, getElementsByType ( "vehicle" ) do -- Get Everything by Type ' vehicle ' local Row = guiGridListAddRow ( GridList ) -- Add Row guiGridListSetItemText ( GridList, Row, Column, getVehicleName ( v ), false, false ); -- Set New Values end; -- end of ' for ' end; -- end of ' clear gridlist ' end; -- end of ' check gridlist type ' end; -- end of ' check parematers end; -- end of ' function ' Ex : wnd = guiCreateWindow(313, 199, 291, 451, "Test", false) grid = guiCreateGridList(25, 71, 255, 318, false, wnd) col = guiGridListAddColumn( grid, "Vehicles :", 0.85 ) changeGridListItemToVehiclesName( grid, col) اعذروني لو كان في اخطاء لانها المرة الاولى اطرح فنكشن Author : 3NAD Edit : iMr.WiFi Why I returned the function ? ترجمة : ليش انا رجعت الفنكشن ؟ عشان في بعض المبرمجين طلبو وقالو افضل فنكشنك للاختصار والافادةة وسلام عليكم ورحمة الله وبركاتة الكود قصيير جداً بنسبة لكود جينيرال Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة ليس عليك اسعاد الجميع , ولكن عليك بإن لا تؤذي أحداً =========You do not have to make everyone happy, But you should not hurt anyone Want to contact with me? Discord: JustCarry#2616 (Always there)Skype: Live:JustCarry10 (Not always)
nxFairlywell Posted April 23, 2016 Posted April 23, 2016 كودك يجيب السيارات اللي بالسيرفر يا بطل هو يبي كل المركبات اللي باللعبه افهم المقصد من الموضوع قبل لا تنتقد :* Discord ID : nxFairlywell#6895
iMr.WiFi..! Posted April 23, 2016 Posted April 23, 2016 انا شفت كودك وفهمت انه يبي حق سيارات , وقريت الموضوع وفهمت وش طلبه , اعتذر Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة ليس عليك اسعاد الجميع , ولكن عليك بإن لا تؤذي أحداً =========You do not have to make everyone happy, But you should not hurt anyone Want to contact with me? Discord: JustCarry#2616 (Always there)Skype: Live:JustCarry10 (Not always)
MR.GRAND Posted April 23, 2016 Posted April 23, 2016 vehicleIDS = { 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 581, 510, 509, 522, 481, 461, 462, 448, 521, 468, 463, 586, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 523, 470, 598, 499, 588, 609, 403, 498, 514, 524, 423, 532, 414, 578, 443, 486, 515, 406, 531, 573, 456, 455, 459, 543, 422, 583, 482, 478, 605, 554, 530, 418, 572, 582, 413, 440, 536, 575, 534, 567, 535, 576, 412, 402, 542, 603, 475, 449, 537, 538, 570, 441, 464, 501, 465, 564, 568, 557, 424, 471, 504, 495, 457, 539, 483, 508, 571, 500, 444, 556, 429, 411, 541, 559, 415, 561, 480, 560, 562, 506, 565, 451, 434, 558, 494, 555, 502, 477, 503, 579, 400, 404, 489, 505, 479, 442, 458, 606, 607, 610, 590, 569, 611, 584, 608, 435, 450, 591, 594 } for _ , id in ipairs ( vehcileIDS ) do local name = getVehicleNameFromModel ( id ) local row = guiGridListAddRow( GridList ) guiGridListSetItemText( GridList, row, 1, name,false, false ) guiGridListSetItemText( GridList, row, 2, tostring(id),false, false ) end لو شايف كودك قبل كذا كان استفدت .. هه لاكن سويت الطريقة بشي ثاني My new GCSS Script : Go حصريا : مود الدردشة بين السيرفرات : الذهاب LUA progress = -100% Join us : Multi Theft Auto Arab I'm not the best but, i'm different Skype : kamel1234128 Someone in this world needs to remember my love .
Jupi Posted April 24, 2016 Posted April 24, 2016 vehicleIDS = { 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 581, 510, 509, 522, 481, 461, 462, 448, 521, 468, 463, 586, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 523, 470, 598, 499, 588, 609, 403, 498, 514, 524, 423, 532, 414, 578, 443, 486, 515, 406, 531, 573, 456, 455, 459, 543, 422, 583, 482, 478, 605, 554, 530, 418, 572, 582, 413, 440, 536, 575, 534, 567, 535, 576, 412, 402, 542, 603, 475, 449, 537, 538, 570, 441, 464, 501, 465, 564, 568, 557, 424, 471, 504, 495, 457, 539, 483, 508, 571, 500, 444, 556, 429, 411, 541, 559, 415, 561, 480, 560, 562, 506, 565, 451, 434, 558, 494, 555, 502, 477, 503, 579, 400, 404, 489, 505, 479, 442, 458, 606, 607, 610, 590, 569, 611, 584, 608, 435, 450, 591, 594 } for _ , id in ipairs ( vehcileIDS ) do local name = getVehicleNameFromModel ( id ) local row = guiGridListAddRow( GridList ) guiGridListSetItemText( GridList, row, 1, name,false, false ) guiGridListSetItemText( GridList, row, 2, tostring(id),false, false ) end ما يلزم كل هذا الجدول الطويل تقدر تسوي بل لوب الرقمي for id = 400, 611 do if getVehicleNameFromModel(id) ~= "" then local row = guiGridListAddRow(Gridlist) guiGridListSetItemText(Gridlist, row, 1, getVehicleNameFromModel(id), false, false) guiGridListSetItemText(Gridlist, row, 2, tostring(id), false, false) end end
nxFairlywell Posted April 24, 2016 Posted April 24, 2016 vehicleIDS = { 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 581, 510, 509, 522, 481, 461, 462, 448, 521, 468, 463, 586, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 523, 470, 598, 499, 588, 609, 403, 498, 514, 524, 423, 532, 414, 578, 443, 486, 515, 406, 531, 573, 456, 455, 459, 543, 422, 583, 482, 478, 605, 554, 530, 418, 572, 582, 413, 440, 536, 575, 534, 567, 535, 576, 412, 402, 542, 603, 475, 449, 537, 538, 570, 441, 464, 501, 465, 564, 568, 557, 424, 471, 504, 495, 457, 539, 483, 508, 571, 500, 444, 556, 429, 411, 541, 559, 415, 561, 480, 560, 562, 506, 565, 451, 434, 558, 494, 555, 502, 477, 503, 579, 400, 404, 489, 505, 479, 442, 458, 606, 607, 610, 590, 569, 611, 584, 608, 435, 450, 591, 594 } for _ , id in ipairs ( vehcileIDS ) do local name = getVehicleNameFromModel ( id ) local row = guiGridListAddRow( GridList ) guiGridListSetItemText( GridList, row, 1, name,false, false ) guiGridListSetItemText( GridList, row, 2, tostring(id),false, false ) end ما يلزم كل هذا الجدول الطويل تقدر تسوي بل لوب الرقمي for id = 400, 611 do if getVehicleNameFromModel(id) ~= "" then local row = guiGridListAddRow(Gridlist) guiGridListSetItemText(Gridlist, row, 1, getVehicleNameFromModel(id), false, false) guiGridListSetItemText(Gridlist, row, 2, tostring(id), false, false) end end أها ,طريقة حلوة Discord ID : nxFairlywell#6895
MR.GRAND Posted April 24, 2016 Posted April 24, 2016 vehicleIDS = { 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 581, 510, 509, 522, 481, 461, 462, 448, 521, 468, 463, 586, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 523, 470, 598, 499, 588, 609, 403, 498, 514, 524, 423, 532, 414, 578, 443, 486, 515, 406, 531, 573, 456, 455, 459, 543, 422, 583, 482, 478, 605, 554, 530, 418, 572, 582, 413, 440, 536, 575, 534, 567, 535, 576, 412, 402, 542, 603, 475, 449, 537, 538, 570, 441, 464, 501, 465, 564, 568, 557, 424, 471, 504, 495, 457, 539, 483, 508, 571, 500, 444, 556, 429, 411, 541, 559, 415, 561, 480, 560, 562, 506, 565, 451, 434, 558, 494, 555, 502, 477, 503, 579, 400, 404, 489, 505, 479, 442, 458, 606, 607, 610, 590, 569, 611, 584, 608, 435, 450, 591, 594 } for _ , id in ipairs ( vehcileIDS ) do local name = getVehicleNameFromModel ( id ) local row = guiGridListAddRow( GridList ) guiGridListSetItemText( GridList, row, 1, name,false, false ) guiGridListSetItemText( GridList, row, 2, tostring(id),false, false ) end ما يلزم كل هذا الجدول الطويل تقدر تسوي بل لوب الرقمي for id = 400, 611 do if getVehicleNameFromModel(id) ~= "" then local row = guiGridListAddRow(Gridlist) guiGridListSetItemText(Gridlist, row, 1, getVehicleNameFromModel(id), false, false) guiGridListSetItemText(Gridlist, row, 2, tostring(id), false, false) end end ولو احد م يبي بعض الأيديات اللي من بين 400 إلى 600 ؟ْ! My new GCSS Script : Go حصريا : مود الدردشة بين السيرفرات : الذهاب LUA progress = -100% Join us : Multi Theft Auto Arab I'm not the best but, i'm different Skype : kamel1234128 Someone in this world needs to remember my love .
HassoN Posted April 24, 2016 Posted April 24, 2016 ولو احد م يبي بعض الأيديات اللي من بين 400 إلى 600 ؟ْ! if id ~= الرقم الي ماتبيه then * There is No God but Allah discord: HassoN#2709 Visit my wiki profile: https://wiki.multitheftauto.com/wiki/User:Hassan_saad
Jupi Posted April 24, 2016 Posted April 24, 2016 ولو احد م يبي بعض الأيديات اللي من بين 400 إلى 600 ؟ْ! if id ~= الرقم الي ماتبيه then لول وبيجلس يكتب شرط شرط؟ خذ يا حاق Table = { [id] = true, [id] = true, } for id = 400, 611 do if getVehicleNameFromModel(id) ~= "" then if not Table[id] then -- end end end
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