Jump to content

Adham

Members
  • Posts

    2,259
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Adham

  1. Adham

    سوال

    ممكن الكود؟
  2. Adham

    تعديل

    local alzr = "m" -- GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) showCursor(false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Name Player", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") bindKey (alzr,'down', function () guiSetVisible (wnd,not guiGetVisible (wnd)) showCursor (guiGetVisible (wnd)) end) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) --- -- addEventHandler("onClientGUIClick",root,function( ) if source == GUIEditor.button[4] then if not isPedInVehicle(localPlayer) then return end destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end ) ------- addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent("SlapPlayer", localPlayer) local edit1 = guiGetText(GUIEditor.edit[1]) guiSetVisible(wnd2,false) showCursor(false) end end) ----- addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end) function update () guiGridListClear(grid) for i,v in ipairs (getElementsByType("player")) do local rp = guiGridListAddRow (grid) guiGridListSetItemText (grid,rp,1,getPlayerName(v),false,false) end end addEventHandler ("onClientResourceStart",resourceRoot,update) addEventHandler ("onClientPlayerJoin",root,update) addEventHandler ("onClientPlayerChangeNick",root,update) addEventHandler ("onClientPlayerQuit",root,update) ) ما شتغلت
  3. Adham

    تعديل

    انا اقصد فيه لوحه الشرطي كل الناس الفاتحا ب السرفر تيجي في القريد لست عشان يقر يحدد ويصكه سلاب كذا
  4. سلام عليكم اليوم سويت مود لوحه شرطي وعامل قريد لست اسمو Player Name عاوز يظهر فيه اسامي اللاعبين عشان يقدر يحدد مين يعطيه سلاب local alzr = "m" -- GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) showCursor(false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Name Player", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") bindKey (alzr,'down', function () guiSetVisible (wnd,not guiGetVisible (wnd)) showCursor (guiGetVisible (wnd)) end) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) --- -- addEventHandler("onClientGUIClick",root,function( ) if source == GUIEditor.button[4] then if not isPedInVehicle(localPlayer) then return end destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end ) ------- addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent("SlapPlayer", localPlayer) local edit1 = guiGetText(GUIEditor.edit[1]) guiSetVisible(wnd2,false) showCursor(false) end end) ----- addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end)
  5. Adham

    help

    طيب في استفسار تاني انا عملت لوحه وفيه بيتون واليضعط علي بيتون يروح للوحه تاني ولما اجي اروح للوحه تانيه اضعط M تفتح اللوحه الاولنه ونا مش عاوز تفتح اللوحه الاولنه والتنيه مفتوحه
  6. GUIEditor = { gridlist = {}, button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(174, 155, 422, 335, "jail", false) guiWindowSetSizable(wnd, false) GUIEditor.gridlist[1] = guiCreateGridList(13, 32, 310, 196, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "ID", 0.5) guiGridListAddColumn(GUIEditor.gridlist[1], "Time", 0.5) GUIEditor.button[1] = guiCreateButton(60, 232, 273, 38, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("m", "down", OpenWin) -- addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) local Mk = setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end) -----
  7. GUIEditor = { gridlist = {}, button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(174, 155, 422, 335, "jail", false) guiWindowSetSizable(wnd, false) GUIEditor.gridlist[1] = guiCreateGridList(13, 32, 310, 196, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "ID", 0.5) guiGridListAddColumn(GUIEditor.gridlist[1], "Time", 0.5) GUIEditor.button[1] = guiCreateButton(60, 232, 273, 38, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("m", "down", OpenWin) -- addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) local Mk = setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end) -----
  8. <@> addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then local sel = guiGridListGetSelectedItem(grid) local text = guiGridListGetItemText(grid,sel,1) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) setTimer ( 1000, 1 ) setElementPosition ( 2122.21818, 53121, 10.5141 ) end end)
  9. طيب انا عملت فكشن p عشان settimer
  10. Adham

    help

    خلأص عملت. طيب استفسار انا عامل لما يدوس علي ok ياخد سلاب عاوز اليدوس علي ok وياخد سلاب اللوحه تختفي
  11. Adham

    help

    addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then guiSetVisible(wnd2,false) triggerServerEvent("SlapPlayer", localPlayer) end end)
  12. addEventHandler("onClientGUIClick",resourceRoot, function ( P ) if ( source == GUIEditor.button[1] ) then setElementPosition ( source, 2122.21338, 2243.54175, 10.67188 ) setTimer ( P, 1000, 1, ) setElementPosition ( source, 2122.21818, 53121, 10.5141 ) end end) مش عارف احط القريد لست وا لداتا JP = { {'1','minutes'}, {'2','mintes'}, {'3','mintes'}, {'5','mintes'}, {'10','mintes'}, {'15','mintes'}, {'20','mintes'}, {'30','mintes'}, {'40','mintes'}, {'1','hours'}, {'2','hours'}, {'3','hours'}, {'4','hours'}, {'5','hours'}, {'24','hours'} }
  13. Adham

    help

    اوسكر معدلي علي السبورت سيستم
  14. Adham

    help

    ادري انا عامل لوحه وعامل الكود اليضعط علي بيتون يروح للوحه التانيه ونا عاوز الكود دا يبقا في wnd2
  15. Adham

    help

    سلام عليكم انا عامل لوحة شرطي وعملها اليضعط علي بيتون يروح للوحه تاني وعامل الكود دا addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent("SlapPlayer", localPlayer) end end) ونا عااوزها في اللوحه اليضعط عليها البيتون اسم اللوحه wnd2 سرفر addEvent("SlapPlayer", true) addEventHandler("SlapPlayer", root, function() killPed (source) end )
  16. Adham

    تعديل

    ابي خط font.ttf
  17. سلام عليكم اليوم انا عامل مود سجن وعاملو علي قريد لست ب اوقات عاوز اليضعط علي قريد لست اسمو 1 hours بعد كدا يضعط علي بيتون اسمه Jail Player يخش اللاعب السجن علي حسب المده المتحدده.
  18. Adham

    edit

    الجدول طلع فيه مشكله انا عملت الجدول {"1",mintes}, بيظهر 1 ومش بيظهر mintes شالمشكله
  19. Adham

    edit

    طيب حلو اشتغلت ليش ما تظهر mintus?
  20. Adham

    edit

    عدلت GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ ranks = { {'1',minutes}, {'2',mintes}, {'3',mintes}, {'5',mintes}, {'10',mintes}, {'15',mintes}, {'20',mintes}, {'30',mintes}, {'40',mintes}, {'1',hours}, {'2',hours}, {'3',hours} } -- local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) for _, v in ipairs (ranks) do local Row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 2, v[2], false, false) end
  21. Adham

    edit

    طيب عدلي عليه واعملهولي
  22. Adham

    edit

    شالمشكله ي اوسكر دلوقتي؟ GUIEditor = { checkbox = {}, button = {}, gridlist = {}, edit = {}, label = {} } ------ ranks = { {'1',minutes}, {'2',mintes}, {'3',mintes}, {'5',mintes}, {'10',mintes}, {'15',mintes}, {'20',mintes}, {'30',mintes}, {'40',mintes}, {'1',hours}, {'2',hours}, {'3',hours} } -- local screenW, screenH = guiGetScreenSize() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then guiSetVisible(wnd,false) showCursor(false) end end) for _, v in ipairs (ranks) do local Row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 2, v[2], false, false) end ما يظهر الجدول في القريد لست الحاجات الكتبها
  23. Adham

    edit

    سلام عليكم عملت لوحه لاكن ما شغاله كلنت GUIEditor = { checkbox = {}, button = {}, gridlist = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(555, 116, 241, 437, ":: Police Panel ::", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd ,false) GUIEditor.button[1] = guiCreateButton(12, 234, 219, 33, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFDCE400") GUIEditor.button[2] = guiCreateButton(12, 273, 219, 33, "UnJail Player", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0A6D00") GUIEditor.button[3] = guiCreateButton(126, 311, 109, 41, "Slap / Kil", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "D1008EB7") GUIEditor.button[4] = guiCreateButton(10, 311, 109, 41, "Destroy Car", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "D1008EB7") GUIEditor.button[5] = guiCreateButton(10, 358, 219, 33, "X", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "D1FFFFFF") GUIEditor.label[1] = guiCreateLabel(13, 395, 84, 15, "Your States :", false, wnd) GUIEditor.checkbox[1] = guiCreateCheckBox(97, 395, 66, 15, "Online", false, false, wnd) GUIEditor.checkbox[2] = guiCreateCheckBox(159, 395, 66, 15, "Busy", false, false, wnd) GUIEditor.label[2] = guiCreateLabel(13, 412, 88, 15, "Work States :", false, wnd) GUIEditor.label[3] = guiCreateLabel(91, 412, 150, 15, "غير أجباري | Not Required", false, wnd) guiSetProperty(GUIEditor.label[3], "NormalTextColour", "FFFF0000") grid = guiCreateGridList(9, 24, 222, 206, false, wnd) guiGridListAddColumn(grid, "Time", 0.9) wnd2 = guiCreateWindow(205, 211, 375, 170, "Slap Reason:", false) guiWindowSetSizable(wnd2, false) guiSetVisible(wnd2 ,false) GUIEditor.label[1] = guiCreateLabel(72, 37, 290, 19, "Enter slap reason ( this will be visble for all ):", false, wnd2) GUIEditor.edit[1] = guiCreateEdit(77, 61, 250, 29, "", false, wnd2) GUIEditor.button[1] = guiCreateButton(41, 139, 145, 21, "Ok", false, wnd2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(203, 139, 145, 21, "X", false, wnd2) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") end ) function Strong ( ) guiSetVisible ( wnd,true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Teams",Strong ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(wnd2,false) showCursor(false) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(wnd,false) guiSetVisible(wnd2,true) end end )
  24. سلام عليكم اليوم جيبلكم مود سبورت سيستم من صنعي .! صوره : http://e.top4top.net/p_92p7lz1.png صوره للشات : http://b.top4top.net/p_923rhc1.png رباط التحميل : http://up.top4top.net/downloadf-92ucfd1-zip.html والسلام عليكم #
×
×
  • Create New...