Jump to content

Wleed1998

Members
  • Posts

    320
  • Joined

  • Last visited

Everything posted by Wleed1998

  1. طيب وش الاغلط الوحه ترى صمممته من الوكي بس نسيت الاديت
  2. كلنت Window = guiCreateWindow ( 0.15, 0.33, 0.7, 0.34, "^^", true ) spawnScreenOKButton = guiCreateButton ( 0.4, 0.85, 0.20, 0.15, "OK", true, Window ) GUIEditor.memo[1] = guiCreateMemo(17,79,414,246,"",false,Window) function () if ( source == GUIEditor.button[1] ) then ad = guiGetText(GUIEditor.edit[1]) guiSetText (GUIEditor.edit[1], "" ) triggerServerEvent( 'Add', getLocalPlayer(),ad) local getPlayer = getPlayerFromName(PlayerName) local Na = getPlayerName(getPlayer) local My = getPlayerMoney(getPlayer) local Ping = getPlayerPing(getPlayer) addEvent("aad",true) addEventHandler("aad",root, function (Account,acc,Player,Serial,acl) guiSetText(GUIEditor.memo[1],"\n Acls:"..PlayerAcls.."\n NameAccount :"..acc"\n NamePlayer :"..Na.."\n SerialPlayre :"..Serial.."\n Money :"..My.."\nPing :"..Ping) سيرفر addEvent("add",true) addEventHandler("add", root, function (ad) local Account = getPlayerAccount(Player) if (account) and not (isGuestAccount(account)) then local acc = getAccountName(Playeracc) local Player = getPlayerFromName(PlayerName) local Serial = getPlayerSerial(player) local acl = getPlayerAcls(Player) tostring( table.concat(acl, ", ") ) triggerClientEvent (playerSource, "aad" ,Account,acc,Player,Serial,acl) لم تمت التجربه
  3. كلنت Window = guiCreateWindow ( 0.15, 0.33, 0.7, 0.34, "^^", true ) spawnScreenOKButton = guiCreateButton ( 0.4, 0.85, 0.20, 0.15, "OK", true, Window ) GUIEditor.memo[1] = guiCreateMemo(17,79,414,246,"",false,Window) function () if ( source == GUIEditor.button[1] ) then ad = guiGetText(GUIEditor.edit[1]) guiSetText (GUIEditor.edit[1], "" ) triggerServerEvent( 'Add', getLocalPlayer(),ad) local getPlayer = getPlayerFromName(PlayerName) local Na = getPlayerName(getPlayer) local My = getPlayerMoney(getPlayer) local Ping = getPlayerPing(getPlayer) addEvent("aad",true) addEventHandler("aad",root, function (Account,acc,Player,Serial,acl) guiSetText(GUIEditor.memo[1],"\n Acls:"..PlayerAcls.."\n NameAccount :"..acc"\n NamePlayer :"..Na.."\n SerialPlayre :"..Serial.."\n Money :"..My.."\nPing :"..Ping) سيرفر addEvent("add",true) addEventHandler("add", root, function (ad) local Account = getPlayerAccount(Player) if (account) and not (isGuestAccount(account)) then local acc = getAccountName(Playeracc) local Player = getPlayerFromName(PlayerName) local Serial = getPlayerSerial(player) local acl = getPlayerAcls(Player) tostring( table.concat(acl, ", ") ) triggerClientEvent (playerSource, "aad" ,Account,acc,Player,Serial,acl) الوحه حطيته من الوكي كا تجربه لان الان بروح مشغول شوي بروب الكود لم تتم تجربته
  4. السلام عليكمممم السلام عليكمممم الان انا سويت لوحة gui فيها ايديت وتحته ميمو اريد لم اكتب في الاديت حساب لاعب يجيبلي معلوماته سرياله +رتبه كامله + فلوسه كم +بنقه + و النك حقهاو الاسم وبس
  5. مود الساعات معروف حق واي فاي و التوب فوق الاكواد
  6. يب ظاهر بس ابي ساعات التوب تمشي ع ساعات السكور تكون نفسسها
  7. اخوي احط الاكواد ب مود التوب ولا مود الساعات
  8. انت اي شي مو معرف معك تصنع له جدول وتكتب Source ??? -- العموم يا صاحب الموضوع اعتقد المشكله من الترايقرات عندك حاط داتا على اي دي السيارة ومانت راسل شي الداتا بترايقر صنع السيارة + عطنا الاخطاء الي تجيك خلنا نشوف وين المشكلة بالضبط كل الازرار لم اظغها ماتزبط ويطل ان التقريت مو صحيح
  9. اسماء العيبه ظهرت لكن السيارات ماظهرت
  10. ماظهر شيء ابدا الرجاء حل المشكله
  11. مشكور اخي انت و شاطح ووكل الي ساعدوني بروب بجرب carid = { {"Broadway", 575}, {"Buccaneer", 518}, {"Esperanto", 419}, {"Remington", 534}, {"Savanna", 567}, {"Slamvan", 535}, {"Tornado", 576}, {"Voodoo", 412}, {"Blista Compact", 496}, {"Bravura", 401}, {"Cadrona", 527}, {"Clover", 542}, {"Feltzer", 533}, {"Fortune", 526}, {"Hermes", 474}, {"Hustler", 545}, {"Majestic", 517}, {"Manana", 410}, {"Previon", 436}, {"Sabre", 475}, {"Stallion", 439}, {"Tampa", 549}, {"Virgo", 491}, {"Admiral", 445}, {"Cabbie", 438}, {"Elegant", 507}, {"Emperor", 585}, {"Glendale", 466}, {"Greenwood", 492}, {"Intruder", 546}, {"Merit", 551}, {"Nebula", 516}, {"Oceanic", 467}, {"Premier", 426}, {"Primo", 547}, {"Sentinel", 405}, {"Stafford", 580}, {"Stretch", 409}, {"Sunrise", 550}, {"Tahoma", 566}, {"Taxi", 420}, {"Vincent", 540}, {"Washington", 421}, {"Willard", 529}, {"Ambulance", 416}, {"Barracks", 433}, {"Enforcer", 427}, {"FBI rancher", 490}, {"FBI truck", 528}, {"Fire truck", 407}, {"Fire truck (ladder)", 544}, {"Police car (LS)", 596}, {"Police car (LV)", 598}, {"Police car (SF)", 597}, {"Police ranger", 599}, {"S.W.A.T.", 601}, {"Cement truck", 524}, {"DFT-30", 578}, {"Dozer", 486}, {"Dumper", 406}, {"Alpha", 602}, {"Banshee", 429}, {"Buffalo", 402}, {"Bullet", 541}, {"Cheetah", 415}, {"Comet", 480}, {"Elegy", 562}, {"Euros", 587}, {"Flash", 565}, {"Infernus", 411}, {"Jester", 559}, {"Phoenix", 603}, {"Sultan", 560}, {"Super GT", 506}, {"Turismo", 451}, {"Uranus", 558}, {"Windsor", 555}, {"ZR-350", 477}, {"Blade", 536}, {"Dune", 573}, {"Flatbed", 455}, {"Forklift", 530}, {"Linerunner", 403}, {"Packer", 443}, {"Roadtrain", 515}, {"Sweeper", 574}, {"Tanker", 514}, {"Towtruck", 525}, {"Trashmaster", 408}, {"Utility van", 552}, {"Benson", 499}, {"Black Boxville", 609}, {"Bobcat", 422}, {"Boxville", 498}, {"Mule", 414}, {"Picador", 600}, {"Sadler", 543}, {"Securicar", 428}, {"Walton", 478}, {"Yankee", 456}, {"Yosemite", 554}, {"Berkley's RC van", 459}, {"Burrito", 482}, {"Camper", 483}, {"Journey", 508}, {"Moonbeam", 418}, {"News van", 582}, {"Bike", 509}, {"BMX", 481}, {"Mountain bike", 510}, {"Cargobob", 548}, {"Leviathan", 417}, {"Maverick", 487}, {"News Chopper", 488}, {"Police Maverick", 497}, {"Sparrow", 469}, {"Beagle", 511}, {"Cropduster", 512}, {"Dodo", 593}, {"Nevada", 553}, {"Rustler", 476}, {"Shamal", 519}, {"Skimmer", 460}, {"Stuntplane", 513}, {"Pony", 413}, {"Rumpo", 440}, {"Baggage", 485}, {"Bandito", 568}, {"BF Injection", 424}, {"Bloodring Banger", 504}, {"Bus", 431}, {"Caddy", 457}, {"Coach", 437}, {"Combine harvester", 532}, {"Hotknife", 434}, {"Hotring racer", 494}, {"Hotring racer 2", 502}, {"Hotring racer 3", 503}, {"Monster", 444}, {"Monster 2", 556}, {"Monster 3", 557}, {"Mower", 572}, {"Mr. Whoopee", 423}, {"Kart", 571}, {"Tractor", 531}, {"Tug", 583}, {"Vortex", 539}, {"RC Bandit", 441}, {"RC Baron", 464}, {"RC Flower Pot", 594}, {"RC Goblin", 501}, {"RC Raider", 465}, {"RC Tiger", 564}, {"Club", 589}, {"Huntley", 579}, {"Landstalker", 400}, {"Mesa", 500}, {"Patriot", 470}, {"Perennial", 404}, {"Rancher", 489}, {"Regina", 479}, {"Romero", 442}, {"Sandking", 495}, {"Solair", 458}, {"Stratum", 561}, {"Coastguard", 472}, {"Dinghy", 473}, {"Jetmax", 493}, {"Launch", 595}, {"Marquis", 484}, {"Predator", 430}, {"Reefer", 453}, {"Speeder", 452}, {"Squalo", 446}, {"Tropic", 454}, {"BF-400", 581}, {"Faggio", 462}, {"FCR-900", 521}, {"Freeway", 463}, {"HPV1000", 523}, {"NRG-500", 522}, {"PCJ-600", 461}, {"Pizza Boy", 448}, {"Sanchez", 468}, {"Wayfarer", 586}, {"Quadbike", 471}, } GUIEditor = { gridlist = {}, button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(187, 90, 454, 423, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF7BB06") GUIEditor.gridlist[1] = guiCreateGridList(10, 29, 165, 242, false, GUIEditor.window[1]) g2 = guiGridListAddColumn(GUIEditor.gridlist[1], "Playres", 0.9) GUIEditor.gridlist[2] = guiCreateGridList(263, 30, 165, 242, false, GUIEditor.window[1]) g = guiGridListAddColumn(GUIEditor.gridlist[2], "car", 0.5) g1 = guiGridListAddColumn(GUIEditor.gridlist[2], "id", 0.5) GUIEditor.button[1] = guiCreateButton(12, 287, 171, 25, "انشاء موتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(10, 319, 171, 25, "نقل الاعب لي الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(10, 354, 171, 25, "نقل الموتر آلى آلاعب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.button[4] = guiCreateButton(262, 286, 171, 25, " +100اعطاء درع", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(263, 317, 171, 25, "اعطاء دم +200", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFF0000") GUIEditor.button[6] = guiCreateButton(10, 384, 171, 25, "سحب الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFF0000") end ) ---------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------- function cars () for i , v in ipairs ( carid ) do Row = guiGridListAddRow (GUIEditor.gridlist[2]) guiGridListSetItemText(GUIEditor.gridlist[2],Row ,g,v[1],false,false); guiGridListSetItemText(GUIEditor.gridlist[2],Row ,g1,v[2],false,false); guiGridListSetItemData (GUIEditor.gridlist[2] , Row , g1 , v[2] ,false,false) end end function All () guiGridListClear(GUIEditor.gridlist[1]) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,getPlayerName(v),false,false) end end --------------------------------------------- function
  12. مشكور اخي انت و شاطح ووكل الي ساعدوني بروب بجرب carid = { {"Broadway", 575}, {"Buccaneer", 518}, {"Esperanto", 419}, {"Remington", 534}, {"Savanna", 567}, {"Slamvan", 535}, {"Tornado", 576}, {"Voodoo", 412}, {"Blista Compact", 496}, {"Bravura", 401}, {"Cadrona", 527}, {"Clover", 542}, {"Feltzer", 533}, {"Fortune", 526}, {"Hermes", 474}, {"Hustler", 545}, {"Majestic", 517}, {"Manana", 410}, {"Previon", 436}, {"Sabre", 475}, {"Stallion", 439}, {"Tampa", 549}, {"Virgo", 491}, {"Admiral", 445}, {"Cabbie", 438}, {"Elegant", 507}, {"Emperor", 585}, {"Glendale", 466}, {"Greenwood", 492}, {"Intruder", 546}, {"Merit", 551}, {"Nebula", 516}, {"Oceanic", 467}, {"Premier", 426}, {"Primo", 547}, {"Sentinel", 405}, {"Stafford", 580}, {"Stretch", 409}, {"Sunrise", 550}, {"Tahoma", 566}, {"Taxi", 420}, {"Vincent", 540}, {"Washington", 421}, {"Willard", 529}, {"Ambulance", 416}, {"Barracks", 433}, {"Enforcer", 427}, {"FBI rancher", 490}, {"FBI truck", 528}, {"Fire truck", 407}, {"Fire truck (ladder)", 544}, {"Police car (LS)", 596}, {"Police car (LV)", 598}, {"Police car (SF)", 597}, {"Police ranger", 599}, {"S.W.A.T.", 601}, {"Cement truck", 524}, {"DFT-30", 578}, {"Dozer", 486}, {"Dumper", 406}, {"Alpha", 602}, {"Banshee", 429}, {"Buffalo", 402}, {"Bullet", 541}, {"Cheetah", 415}, {"Comet", 480}, {"Elegy", 562}, {"Euros", 587}, {"Flash", 565}, {"Infernus", 411}, {"Jester", 559}, {"Phoenix", 603}, {"Sultan", 560}, {"Super GT", 506}, {"Turismo", 451}, {"Uranus", 558}, {"Windsor", 555}, {"ZR-350", 477}, {"Blade", 536}, {"Dune", 573}, {"Flatbed", 455}, {"Forklift", 530}, {"Linerunner", 403}, {"Packer", 443}, {"Roadtrain", 515}, {"Sweeper", 574}, {"Tanker", 514}, {"Towtruck", 525}, {"Trashmaster", 408}, {"Utility van", 552}, {"Benson", 499}, {"Black Boxville", 609}, {"Bobcat", 422}, {"Boxville", 498}, {"Mule", 414}, {"Picador", 600}, {"Sadler", 543}, {"Securicar", 428}, {"Walton", 478}, {"Yankee", 456}, {"Yosemite", 554}, {"Berkley's RC van", 459}, {"Burrito", 482}, {"Camper", 483}, {"Journey", 508}, {"Moonbeam", 418}, {"News van", 582}, {"Bike", 509}, {"BMX", 481}, {"Mountain bike", 510}, {"Cargobob", 548}, {"Leviathan", 417}, {"Maverick", 487}, {"News Chopper", 488}, {"Police Maverick", 497}, {"Sparrow", 469}, {"Beagle", 511}, {"Cropduster", 512}, {"Dodo", 593}, {"Nevada", 553}, {"Rustler", 476}, {"Shamal", 519}, {"Skimmer", 460}, {"Stuntplane", 513}, {"Pony", 413}, {"Rumpo", 440}, {"Baggage", 485}, {"Bandito", 568}, {"BF Injection", 424}, {"Bloodring Banger", 504}, {"Bus", 431}, {"Caddy", 457}, {"Coach", 437}, {"Combine harvester", 532}, {"Hotknife", 434}, {"Hotring racer", 494}, {"Hotring racer 2", 502}, {"Hotring racer 3", 503}, {"Monster", 444}, {"Monster 2", 556}, {"Monster 3", 557}, {"Mower", 572}, {"Mr. Whoopee", 423}, {"Kart", 571}, {"Tractor", 531}, {"Tug", 583}, {"Vortex", 539}, {"RC Bandit", 441}, {"RC Baron", 464}, {"RC Flower Pot", 594}, {"RC Goblin", 501}, {"RC Raider", 465}, {"RC Tiger", 564}, {"Club", 589}, {"Huntley", 579}, {"Landstalker", 400}, {"Mesa", 500}, {"Patriot", 470}, {"Perennial", 404}, {"Rancher", 489}, {"Regina", 479}, {"Romero", 442}, {"Sandking", 495}, {"Solair", 458}, {"Stratum", 561}, {"Coastguard", 472}, {"Dinghy", 473}, {"Jetmax", 493}, {"Launch", 595}, {"Marquis", 484}, {"Predator", 430}, {"Reefer", 453}, {"Speeder", 452}, {"Squalo", 446}, {"Tropic", 454}, {"BF-400", 581}, {"Faggio", 462}, {"FCR-900", 521}, {"Freeway", 463}, {"HPV1000", 523}, {"NRG-500", 522}, {"PCJ-600", 461}, {"Pizza Boy", 448}, {"Sanchez", 468}, {"Wayfarer", 586}, {"Quadbike", 471}, } GUIEditor = { gridlist = {}, button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(187, 90, 454, 423, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF7BB06") GUIEditor.gridlist[1] = guiCreateGridList(10, 29, 165, 242, false, GUIEditor.window[1]) g2 = guiGridListAddColumn(GUIEditor.gridlist[1], "Playres", 0.9) GUIEditor.gridlist[2] = guiCreateGridList(263, 30, 165, 242, false, GUIEditor.window[1]) g = guiGridListAddColumn(GUIEditor.gridlist[2], "car", 0.5) g1 = guiGridListAddColumn(GUIEditor.gridlist[2], "id", 0.5) GUIEditor.button[1] = guiCreateButton(12, 287, 171, 25, "انشاء موتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(10, 319, 171, 25, "نقل الاعب لي الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(10, 354, 171, 25, "نقل الموتر آلى آلاعب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.button[4] = guiCreateButton(262, 286, 171, 25, " +100اعطاء درع", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(263, 317, 171, 25, "اعطاء دم +200", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFF0000") GUIEditor.button[6] = guiCreateButton(10, 384, 171, 25, "سحب الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFF0000") end ) ---------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------- function cars () for i , v in ipairs ( carid ) do Row = guiGridListAddRow (GUIEditor.gridlist[2]) guiGridListSetItemText(GUIEditor.gridlist[2],Row ,g,v[1],false,false); guiGridListSetItemText(GUIEditor.gridlist[2],Row ,g1,v[2],false,false); guiGridListSetItemData (GUIEditor.gridlist[2] , Row , g1 , v[2] ,false,false) end end function All () guiGridListClear(GUIEditor.gridlist[1]) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,getPlayerName(v),false,false) end end --------------------------------------------- function
  13. مشكور اخي انت و شاطح ووكل الي ساعدوني بروب بجرب
  14. بسوي لوحة املاك خاصه جريد لست فيه اسماء لعيبه و تحته زرين 1- تعبيت درع 2- تعبيت دم التحديد من قريد لست العيبها و ثاني تحته 1- انشاء سياره لما يحدد من القريد 2- سحب السياره 3- الانتقال الى السياره 4- نقل السياره الى الاعب
  15. + غير اسم الجدول حق السيرات جربت مازبط ؟؟ حل يجمآعه
  16. + غير اسم الجدول حق السيرات غيرتها مازبط carid = { {"Broadway", 575}, {"Buccaneer", 518}, {"Esperanto", 419}, {"Remington", 534}, {"Savanna", 567}, {"Slamvan", 535}, {"Tornado", 576}, {"Voodoo", 412}, {"Blista Compact", 496}, {"Bravura", 401}, {"Cadrona", 527}, {"Clover", 542}, {"Feltzer", 533}, {"Fortune", 526}, {"Hermes", 474}, {"Hustler", 545}, {"Majestic", 517}, {"Manana", 410}, {"Previon", 436}, {"Sabre", 475}, {"Stallion", 439}, {"Tampa", 549}, {"Virgo", 491}, {"Admiral", 445}, {"Cabbie", 438}, {"Elegant", 507}, {"Emperor", 585}, {"Glendale", 466}, {"Greenwood", 492}, {"Intruder", 546}, {"Merit", 551}, {"Nebula", 516}, {"Oceanic", 467}, {"Premier", 426}, {"Primo", 547}, {"Sentinel", 405}, {"Stafford", 580}, {"Stretch", 409}, {"Sunrise", 550}, {"Tahoma", 566}, {"Taxi", 420}, {"Vincent", 540}, {"Washington", 421}, {"Willard", 529}, {"Ambulance", 416}, {"Barracks", 433}, {"Enforcer", 427}, {"FBI rancher", 490}, {"FBI truck", 528}, {"Fire truck", 407}, {"Fire truck (ladder)", 544}, {"Police car (LS)", 596}, {"Police car (LV)", 598}, {"Police car (SF)", 597}, {"Police ranger", 599}, {"S.W.A.T.", 601}, {"Cement truck", 524}, {"DFT-30", 578}, {"Dozer", 486}, {"Dumper", 406}, {"Alpha", 602}, {"Banshee", 429}, {"Buffalo", 402}, {"Bullet", 541}, {"Cheetah", 415}, {"Comet", 480}, {"Elegy", 562}, {"Euros", 587}, {"Flash", 565}, {"Infernus", 411}, {"Jester", 559}, {"Phoenix", 603}, {"Sultan", 560}, {"Super GT", 506}, {"Turismo", 451}, {"Uranus", 558}, {"Windsor", 555}, {"ZR-350", 477}, {"Blade", 536}, {"Dune", 573}, {"Flatbed", 455}, {"Forklift", 530}, {"Linerunner", 403}, {"Packer", 443}, {"Roadtrain", 515}, {"Sweeper", 574}, {"Tanker", 514}, {"Towtruck", 525}, {"Trashmaster", 408}, {"Utility van", 552}, {"Benson", 499}, {"Black Boxville", 609}, {"Bobcat", 422}, {"Boxville", 498}, {"Mule", 414}, {"Picador", 600}, {"Sadler", 543}, {"Securicar", 428}, {"Walton", 478}, {"Yankee", 456}, {"Yosemite", 554}, {"Berkley's RC van", 459}, {"Burrito", 482}, {"Camper", 483}, {"Journey", 508}, {"Moonbeam", 418}, {"News van", 582}, {"Bike", 509}, {"BMX", 481}, {"Mountain bike", 510}, {"Cargobob", 548}, {"Leviathan", 417}, {"Maverick", 487}, {"News Chopper", 488}, {"Police Maverick", 497}, {"Sparrow", 469}, {"Beagle", 511}, {"Cropduster", 512}, {"Dodo", 593}, {"Nevada", 553}, {"Rustler", 476}, {"Shamal", 519}, {"Skimmer", 460}, {"Stuntplane", 513}, {"Pony", 413}, {"Rumpo", 440}, {"Baggage", 485}, {"Bandito", 568}, {"BF Injection", 424}, {"Bloodring Banger", 504}, {"Bus", 431}, {"Caddy", 457}, {"Coach", 437}, {"Combine harvester", 532}, {"Hotknife", 434}, {"Hotring racer", 494}, {"Hotring racer 2", 502}, {"Hotring racer 3", 503}, {"Monster", 444}, {"Monster 2", 556}, {"Monster 3", 557}, {"Mower", 572}, {"Mr. Whoopee", 423}, {"Kart", 571}, {"Tractor", 531}, {"Tug", 583}, {"Vortex", 539}, {"RC Bandit", 441}, {"RC Baron", 464}, {"RC Flower Pot", 594}, {"RC Goblin", 501}, {"RC Raider", 465}, {"RC Tiger", 564}, {"Club", 589}, {"Huntley", 579}, {"Landstalker", 400}, {"Mesa", 500}, {"Patriot", 470}, {"Perennial", 404}, {"Rancher", 489}, {"Regina", 479}, {"Romero", 442}, {"Sandking", 495}, {"Solair", 458}, {"Stratum", 561}, {"Coastguard", 472}, {"Dinghy", 473}, {"Jetmax", 493}, {"Launch", 595}, {"Marquis", 484}, {"Predator", 430}, {"Reefer", 453}, {"Speeder", 452}, {"Squalo", 446}, {"Tropic", 454}, {"BF-400", 581}, {"Faggio", 462}, {"FCR-900", 521}, {"Freeway", 463}, {"HPV1000", 523}, {"NRG-500", 522}, {"PCJ-600", 461}, {"Pizza Boy", 448}, {"Sanchez", 468}, {"Wayfarer", 586}, {"Quadbike", 471}, } GUIEditor = { gridlist = {}, button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(187, 90, 454, 423, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF7BB06") GUIEditor.gridlist[1] = guiCreateGridList(10, 29, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Playres", 0.9) GUIEditor.gridlist[2] = guiCreateGridList(263, 30, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "car", 0.5) guiGridListAddColumn(GUIEditor.gridlist[2], "id", 0.5) GUIEditor.button[1] = guiCreateButton(12, 287, 171, 25, "انشاء موتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(10, 319, 171, 25, "نقل الاعب لي الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(10, 354, 171, 25, "نقل الموتر آلى آلاعب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.button[4] = guiCreateButton(262, 286, 171, 25, " +100اعطاء درع", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(263, 317, 171, 25, "اعطاء دم +200", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFF0000") GUIEditor.button[6] = guiCreateButton(10, 384, 171, 25, "سحب الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFF0000") end ) function ab() for k,v in ipairs(carid) do local row = guiGridListAddRow(GUIEditor.gridlist[2]) guiGridListSetItemText(GUIEditor.gridlist[2],row,1,v,"car",false,false) guiGridListSetItemText(GUIEditor.gridlist[2],row,1,v,"id",false,false) end end function aa() guiGridListClear(GUIEditor.gridlist[1]) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,getPlayerName(v),false,false) end end --------------------------------------------- addEventHandler ( "onClientGUIClick",root) function Cvehicle() if source == GUIEditor.button[1] then triggerServerEvent( 'Cvehicle', localPlayer) elseif source == GUIEditor.button[2] then triggerServerEvent( 'wrepplayre', localPlayer) elseif source == GUIEditor.button[3] then triggerServerEvent( 'werpvehicle', localPlayer) elseif source == GUIEditor.button[6] then triggerServerEvent( 'desvehicle', localPlayer) elseif source == GUIEditor.button[5] then
  17. + غير اسم الجدول حق السيرات غيرتها مازبط carid = { {"Broadway", 575}, {"Buccaneer", 518}, {"Esperanto", 419}, {"Remington", 534}, {"Savanna", 567}, {"Slamvan", 535}, {"Tornado", 576}, {"Voodoo", 412}, {"Blista Compact", 496}, {"Bravura", 401}, {"Cadrona", 527}, {"Clover", 542}, {"Feltzer", 533}, {"Fortune", 526}, {"Hermes", 474}, {"Hustler", 545}, {"Majestic", 517}, {"Manana", 410}, {"Previon", 436}, {"Sabre", 475}, {"Stallion", 439}, {"Tampa", 549}, {"Virgo", 491}, {"Admiral", 445}, {"Cabbie", 438}, {"Elegant", 507}, {"Emperor", 585}, {"Glendale", 466}, {"Greenwood", 492}, {"Intruder", 546}, {"Merit", 551}, {"Nebula", 516}, {"Oceanic", 467}, {"Premier", 426}, {"Primo", 547}, {"Sentinel", 405}, {"Stafford", 580}, {"Stretch", 409}, {"Sunrise", 550}, {"Tahoma", 566}, {"Taxi", 420}, {"Vincent", 540}, {"Washington", 421}, {"Willard", 529}, {"Ambulance", 416}, {"Barracks", 433}, {"Enforcer", 427}, {"FBI rancher", 490}, {"FBI truck", 528}, {"Fire truck", 407}, {"Fire truck (ladder)", 544}, {"Police car (LS)", 596}, {"Police car (LV)", 598}, {"Police car (SF)", 597}, {"Police ranger", 599}, {"S.W.A.T.", 601}, {"Cement truck", 524}, {"DFT-30", 578}, {"Dozer", 486}, {"Dumper", 406}, {"Alpha", 602}, {"Banshee", 429}, {"Buffalo", 402}, {"Bullet", 541}, {"Cheetah", 415}, {"Comet", 480}, {"Elegy", 562}, {"Euros", 587}, {"Flash", 565}, {"Infernus", 411}, {"Jester", 559}, {"Phoenix", 603}, {"Sultan", 560}, {"Super GT", 506}, {"Turismo", 451}, {"Uranus", 558}, {"Windsor", 555}, {"ZR-350", 477}, {"Blade", 536}, {"Dune", 573}, {"Flatbed", 455}, {"Forklift", 530}, {"Linerunner", 403}, {"Packer", 443}, {"Roadtrain", 515}, {"Sweeper", 574}, {"Tanker", 514}, {"Towtruck", 525}, {"Trashmaster", 408}, {"Utility van", 552}, {"Benson", 499}, {"Black Boxville", 609}, {"Bobcat", 422}, {"Boxville", 498}, {"Mule", 414}, {"Picador", 600}, {"Sadler", 543}, {"Securicar", 428}, {"Walton", 478}, {"Yankee", 456}, {"Yosemite", 554}, {"Berkley's RC van", 459}, {"Burrito", 482}, {"Camper", 483}, {"Journey", 508}, {"Moonbeam", 418}, {"News van", 582}, {"Bike", 509}, {"BMX", 481}, {"Mountain bike", 510}, {"Cargobob", 548}, {"Leviathan", 417}, {"Maverick", 487}, {"News Chopper", 488}, {"Police Maverick", 497}, {"Sparrow", 469}, {"Beagle", 511}, {"Cropduster", 512}, {"Dodo", 593}, {"Nevada", 553}, {"Rustler", 476}, {"Shamal", 519}, {"Skimmer", 460}, {"Stuntplane", 513}, {"Pony", 413}, {"Rumpo", 440}, {"Baggage", 485}, {"Bandito", 568}, {"BF Injection", 424}, {"Bloodring Banger", 504}, {"Bus", 431}, {"Caddy", 457}, {"Coach", 437}, {"Combine harvester", 532}, {"Hotknife", 434}, {"Hotring racer", 494}, {"Hotring racer 2", 502}, {"Hotring racer 3", 503}, {"Monster", 444}, {"Monster 2", 556}, {"Monster 3", 557}, {"Mower", 572}, {"Mr. Whoopee", 423}, {"Kart", 571}, {"Tractor", 531}, {"Tug", 583}, {"Vortex", 539}, {"RC Bandit", 441}, {"RC Baron", 464}, {"RC Flower Pot", 594}, {"RC Goblin", 501}, {"RC Raider", 465}, {"RC Tiger", 564}, {"Club", 589}, {"Huntley", 579}, {"Landstalker", 400}, {"Mesa", 500}, {"Patriot", 470}, {"Perennial", 404}, {"Rancher", 489}, {"Regina", 479}, {"Romero", 442}, {"Sandking", 495}, {"Solair", 458}, {"Stratum", 561}, {"Coastguard", 472}, {"Dinghy", 473}, {"Jetmax", 493}, {"Launch", 595}, {"Marquis", 484}, {"Predator", 430}, {"Reefer", 453}, {"Speeder", 452}, {"Squalo", 446}, {"Tropic", 454}, {"BF-400", 581}, {"Faggio", 462}, {"FCR-900", 521}, {"Freeway", 463}, {"HPV1000", 523}, {"NRG-500", 522}, {"PCJ-600", 461}, {"Pizza Boy", 448}, {"Sanchez", 468}, {"Wayfarer", 586}, {"Quadbike", 471}, } GUIEditor = { gridlist = {}, button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(187, 90, 454, 423, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF7BB06") GUIEditor.gridlist[1] = guiCreateGridList(10, 29, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Playres", 0.9) GUIEditor.gridlist[2] = guiCreateGridList(263, 30, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "car", 0.5) guiGridListAddColumn(GUIEditor.gridlist[2], "id", 0.5) GUIEditor.button[1] = guiCreateButton(12, 287, 171, 25, "انشاء موتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(10, 319, 171, 25, "نقل الاعب لي الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(10, 354, 171, 25, "نقل الموتر آلى آلاعب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.button[4] = guiCreateButton(262, 286, 171, 25, " +100اعطاء درع", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(263, 317, 171, 25, "اعطاء دم +200", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFF0000") GUIEditor.button[6] = guiCreateButton(10, 384, 171, 25, "سحب الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFF0000") end ) function ab() for k,v in ipairs(carid) do local row = guiGridListAddRow(GUIEditor.gridlist[2]) guiGridListSetItemText(GUIEditor.gridlist[2],row,1,v,"car",false,false) guiGridListSetItemText(GUIEditor.gridlist[2],row,1,v,"id",false,false) end end function aa() guiGridListClear(GUIEditor.gridlist[1]) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,getPlayerName(v),false,false) end end --------------------------------------------- addEventHandler ( "onClientGUIClick",root) function Cvehicle() if source == GUIEditor.button[1] then triggerServerEvent( 'Cvehicle', localPlayer) elseif source == GUIEditor.button[2] then triggerServerEvent( 'wrepplayre', localPlayer) elseif source == GUIEditor.button[3] then triggerServerEvent( 'werpvehicle', localPlayer) elseif source == GUIEditor.button[6] then triggerServerEvent( 'desvehicle', localPlayer) elseif source == GUIEditor.button[5] then
  18. createVehicle = { {"Broadway", 575}, {"Buccaneer", 518}, {"Esperanto", 419}, {"Remington", 534}, {"Savanna", 567}, {"Slamvan", 535}, {"Tornado", 576}, {"Voodoo", 412}, {"Blista Compact", 496}, {"Bravura", 401}, {"Cadrona", 527}, {"Clover", 542}, {"Feltzer", 533}, {"Fortune", 526}, {"Hermes", 474}, {"Hustler", 545}, {"Majestic", 517}, {"Manana", 410}, {"Previon", 436}, {"Sabre", 475}, {"Stallion", 439}, {"Tampa", 549}, {"Virgo", 491}, {"Admiral", 445}, {"Cabbie", 438}, {"Elegant", 507}, {"Emperor", 585}, {"Glendale", 466}, {"Greenwood", 492}, {"Intruder", 546}, {"Merit", 551}, {"Nebula", 516}, {"Oceanic", 467}, {"Premier", 426}, {"Primo", 547}, {"Sentinel", 405}, {"Stafford", 580}, {"Stretch", 409}, {"Sunrise", 550}, {"Tahoma", 566}, {"Taxi", 420}, {"Vincent", 540}, {"Washington", 421}, {"Willard", 529}, {"Ambulance", 416}, {"Barracks", 433}, {"Enforcer", 427}, {"FBI rancher", 490}, {"FBI truck", 528}, {"Fire truck", 407}, {"Fire truck (ladder)", 544}, {"Police car (LS)", 596}, {"Police car (LV)", 598}, {"Police car (SF)", 597}, {"Police ranger", 599}, {"S.W.A.T.", 601}, {"Cement truck", 524}, {"DFT-30", 578}, {"Dozer", 486}, {"Dumper", 406}, {"Alpha", 602}, {"Banshee", 429}, {"Buffalo", 402}, {"Bullet", 541}, {"Cheetah", 415}, {"Comet", 480}, {"Elegy", 562}, {"Euros", 587}, {"Flash", 565}, {"Infernus", 411}, {"Jester", 559}, {"Phoenix", 603}, {"Sultan", 560}, {"Super GT", 506}, {"Turismo", 451}, {"Uranus", 558}, {"Windsor", 555}, {"ZR-350", 477}, {"Blade", 536}, {"Dune", 573}, {"Flatbed", 455}, {"Forklift", 530}, {"Linerunner", 403}, {"Packer", 443}, {"Roadtrain", 515}, {"Sweeper", 574}, {"Tanker", 514}, {"Towtruck", 525}, {"Trashmaster", 408}, {"Utility van", 552}, {"Benson", 499}, {"Black Boxville", 609}, {"Bobcat", 422}, {"Boxville", 498}, {"Mule", 414}, {"Picador", 600}, {"Sadler", 543}, {"Securicar", 428}, {"Walton", 478}, {"Yankee", 456}, {"Yosemite", 554}, {"Berkley's RC van", 459}, {"Burrito", 482}, {"Camper", 483}, {"Journey", 508}, {"Moonbeam", 418}, {"News van", 582}, {"Bike", 509}, {"BMX", 481}, {"Mountain bike", 510}, {"Cargobob", 548}, {"Leviathan", 417}, {"Maverick", 487}, {"News Chopper", 488}, {"Police Maverick", 497}, {"Sparrow", 469}, {"Beagle", 511}, {"Cropduster", 512}, {"Dodo", 593}, {"Nevada", 553}, {"Rustler", 476}, {"Shamal", 519}, {"Skimmer", 460}, {"Stuntplane", 513}, {"Pony", 413}, {"Rumpo", 440}, {"Baggage", 485}, {"Bandito", 568}, {"BF Injection", 424}, {"Bloodring Banger", 504}, {"Bus", 431}, {"Caddy", 457}, {"Coach", 437}, {"Combine harvester", 532}, {"Hotknife", 434}, {"Hotring racer", 494}, {"Hotring racer 2", 502}, {"Hotring racer 3", 503}, {"Monster", 444}, {"Monster 2", 556}, {"Monster 3", 557}, {"Mower", 572}, {"Mr. Whoopee", 423}, {"Kart", 571}, {"Tractor", 531}, {"Tug", 583}, {"Vortex", 539}, {"RC Bandit", 441}, {"RC Baron", 464}, {"RC Flower Pot", 594}, {"RC Goblin", 501}, {"RC Raider", 465}, {"RC Tiger", 564}, {"Club", 589}, {"Huntley", 579}, {"Landstalker", 400}, {"Mesa", 500}, {"Patriot", 470}, {"Perennial", 404}, {"Rancher", 489}, {"Regina", 479}, {"Romero", 442}, {"Sandking", 495}, {"Solair", 458}, {"Stratum", 561}, {"Coastguard", 472}, {"Dinghy", 473}, {"Jetmax", 493}, {"Launch", 595}, {"Marquis", 484}, {"Predator", 430}, {"Reefer", 453}, {"Speeder", 452}, {"Squalo", 446}, {"Tropic", 454}, {"BF-400", 581}, {"Faggio", 462}, {"FCR-900", 521}, {"Freeway", 463}, {"HPV1000", 523}, {"NRG-500", 522}, {"PCJ-600", 461}, {"Pizza Boy", 448}, {"Sanchez", 468}, {"Wayfarer", 586}, {"Quadbike", 471}, } GUIEditor = { gridlist = {}, button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(187, 90, 454, 423, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF7BB06") GUIEditor.gridlist[1] = guiCreateGridList(10, 29, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Playres", 0.9) GUIEditor.gridlist[2] = guiCreateGridList(263, 30, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "car", 0.5) guiGridListAddColumn(GUIEditor.gridlist[2], "id", 0.5) GUIEditor.button[1] = guiCreateButton(12, 287, 171, 25, "انشاء موتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(10, 319, 171, 25, "نقل الاعب لي الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(10, 354, 171, 25, "نقل الموتر آلى آلاعب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.button[4] = guiCreateButton(262, 286, 171, 25, " +100اعطاء درع", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(263, 317, 171, 25, "اعطاء دم +200", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFF0000") GUIEditor.button[6] = guiCreateButton(10, 384, 171, 25, "سحب الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFF0000") end ) function ab() for k,v in ipairs(createVehicle) do local row = guiGridListAddRow(gridlist2) guiGridListSetItemText(gridlist2,row,1,v,"car",false,false) guiGridListSetItemText(gridlist2,row,1,v,"id",false,false) end end function aa() guiGridListClear(YourGrid) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(gridlist1) guiGridListSetItemText(gridlist1,row,1,getPlayerName(v),false,false) end end --------------------------------------------- addEventHandler ( "onClientGUIClick",root) function Cvehicle() if source == GUIEditor.button[1] then triggerServerEvent( 'Cvehicle', localPlayer) elseif source == GUIEditor.button[2] then triggerServerEvent( 'wrepplayre', localPlayer) elseif source == GUIEditor.button[3] then triggerServerEvent( 'werpvehicle', localPlayer) elseif source == GUIEditor.button[6] then triggerServerEvent( 'desvehicle', localPlayer) elseif source == GUIEditor.button[5] then
  19. createVehicle = { {"Broadway", 575}, {"Buccaneer", 518}, {"Esperanto", 419}, {"Remington", 534}, {"Savanna", 567}, {"Slamvan", 535}, {"Tornado", 576}, {"Voodoo", 412}, {"Blista Compact", 496}, {"Bravura", 401}, {"Cadrona", 527}, {"Clover", 542}, {"Feltzer", 533}, {"Fortune", 526}, {"Hermes", 474}, {"Hustler", 545}, {"Majestic", 517}, {"Manana", 410}, {"Previon", 436}, {"Sabre", 475}, {"Stallion", 439}, {"Tampa", 549}, {"Virgo", 491}, {"Admiral", 445}, {"Cabbie", 438}, {"Elegant", 507}, {"Emperor", 585}, {"Glendale", 466}, {"Greenwood", 492}, {"Intruder", 546}, {"Merit", 551}, {"Nebula", 516}, {"Oceanic", 467}, {"Premier", 426}, {"Primo", 547}, {"Sentinel", 405}, {"Stafford", 580}, {"Stretch", 409}, {"Sunrise", 550}, {"Tahoma", 566}, {"Taxi", 420}, {"Vincent", 540}, {"Washington", 421}, {"Willard", 529}, {"Ambulance", 416}, {"Barracks", 433}, {"Enforcer", 427}, {"FBI rancher", 490}, {"FBI truck", 528}, {"Fire truck", 407}, {"Fire truck (ladder)", 544}, {"Police car (LS)", 596}, {"Police car (LV)", 598}, {"Police car (SF)", 597}, {"Police ranger", 599}, {"S.W.A.T.", 601}, {"Cement truck", 524}, {"DFT-30", 578}, {"Dozer", 486}, {"Dumper", 406}, {"Alpha", 602}, {"Banshee", 429}, {"Buffalo", 402}, {"Bullet", 541}, {"Cheetah", 415}, {"Comet", 480}, {"Elegy", 562}, {"Euros", 587}, {"Flash", 565}, {"Infernus", 411}, {"Jester", 559}, {"Phoenix", 603}, {"Sultan", 560}, {"Super GT", 506}, {"Turismo", 451}, {"Uranus", 558}, {"Windsor", 555}, {"ZR-350", 477}, {"Blade", 536}, {"Dune", 573}, {"Flatbed", 455}, {"Forklift", 530}, {"Linerunner", 403}, {"Packer", 443}, {"Roadtrain", 515}, {"Sweeper", 574}, {"Tanker", 514}, {"Towtruck", 525}, {"Trashmaster", 408}, {"Utility van", 552}, {"Benson", 499}, {"Black Boxville", 609}, {"Bobcat", 422}, {"Boxville", 498}, {"Mule", 414}, {"Picador", 600}, {"Sadler", 543}, {"Securicar", 428}, {"Walton", 478}, {"Yankee", 456}, {"Yosemite", 554}, {"Berkley's RC van", 459}, {"Burrito", 482}, {"Camper", 483}, {"Journey", 508}, {"Moonbeam", 418}, {"News van", 582}, {"Bike", 509}, {"BMX", 481}, {"Mountain bike", 510}, {"Cargobob", 548}, {"Leviathan", 417}, {"Maverick", 487}, {"News Chopper", 488}, {"Police Maverick", 497}, {"Sparrow", 469}, {"Beagle", 511}, {"Cropduster", 512}, {"Dodo", 593}, {"Nevada", 553}, {"Rustler", 476}, {"Shamal", 519}, {"Skimmer", 460}, {"Stuntplane", 513}, {"Pony", 413}, {"Rumpo", 440}, {"Baggage", 485}, {"Bandito", 568}, {"BF Injection", 424}, {"Bloodring Banger", 504}, {"Bus", 431}, {"Caddy", 457}, {"Coach", 437}, {"Combine harvester", 532}, {"Hotknife", 434}, {"Hotring racer", 494}, {"Hotring racer 2", 502}, {"Hotring racer 3", 503}, {"Monster", 444}, {"Monster 2", 556}, {"Monster 3", 557}, {"Mower", 572}, {"Mr. Whoopee", 423}, {"Kart", 571}, {"Tractor", 531}, {"Tug", 583}, {"Vortex", 539}, {"RC Bandit", 441}, {"RC Baron", 464}, {"RC Flower Pot", 594}, {"RC Goblin", 501}, {"RC Raider", 465}, {"RC Tiger", 564}, {"Club", 589}, {"Huntley", 579}, {"Landstalker", 400}, {"Mesa", 500}, {"Patriot", 470}, {"Perennial", 404}, {"Rancher", 489}, {"Regina", 479}, {"Romero", 442}, {"Sandking", 495}, {"Solair", 458}, {"Stratum", 561}, {"Coastguard", 472}, {"Dinghy", 473}, {"Jetmax", 493}, {"Launch", 595}, {"Marquis", 484}, {"Predator", 430}, {"Reefer", 453}, {"Speeder", 452}, {"Squalo", 446}, {"Tropic", 454}, {"BF-400", 581}, {"Faggio", 462}, {"FCR-900", 521}, {"Freeway", 463}, {"HPV1000", 523}, {"NRG-500", 522}, {"PCJ-600", 461}, {"Pizza Boy", 448}, {"Sanchez", 468}, {"Wayfarer", 586}, {"Quadbike", 471}, } GUIEditor = { gridlist = {}, button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(187, 90, 454, 423, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF7BB06") GUIEditor.gridlist[1] = guiCreateGridList(10, 29, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Playres", 0.9) GUIEditor.gridlist[2] = guiCreateGridList(263, 30, 165, 242, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "car", 0.5) guiGridListAddColumn(GUIEditor.gridlist[2], "id", 0.5) GUIEditor.button[1] = guiCreateButton(12, 287, 171, 25, "انشاء موتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(10, 319, 171, 25, "نقل الاعب لي الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(10, 354, 171, 25, "نقل الموتر آلى آلاعب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.button[4] = guiCreateButton(262, 286, 171, 25, " +100اعطاء درع", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(263, 317, 171, 25, "اعطاء دم +200", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFF0000") GUIEditor.button[6] = guiCreateButton(10, 384, 171, 25, "سحب الموتر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFF0000") end ) function ab() for k,v in ipairs(createVehicle) do local row = guiGridListAddRow(gridlist2) guiGridListSetItemText(gridlist2,row,1,v,"car",false,false) guiGridListSetItemText(gridlist2,row,1,v,"id",false,false) end end function aa() guiGridListClear(YourGrid) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(gridlist1) guiGridListSetItemText(gridlist1,row,1,getPlayerName(v),false,false) end end --------------------------------------------- addEventHandler ( "onClientGUIClick",root) function Cvehicle() if source == GUIEditor.button[1] then triggerServerEvent( 'Cvehicle', localPlayer) elseif source == GUIEditor.button[2] then triggerServerEvent( 'wrepplayre', localPlayer) elseif source == GUIEditor.button[3] then triggerServerEvent( 'werpvehicle', localPlayer) elseif source == GUIEditor.button[6] then triggerServerEvent( 'desvehicle', localPlayer) elseif source == GUIEditor.button[5] then
×
×
  • Create New...