Ismaeel_finer Posted March 12, 2017 Share Posted March 12, 2017 (edited) السلام عليكم انا من مشكلة الي مشكلة نبدا ف موضوع لدي مشكلة سويت لوحة امورها تمام بس اسماء لاعبين ماتطهر ف لوحة ارسال فلوس ---Client addEventHandler("onClientResourceStart", resourceRoot, function() --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) GUIEditor.gridlist = guiCreateGridList(3,49,145,342,false,zzz) guiGridListAddColumn(GUIEditor.gridlist,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz) GUIEditor.edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz) labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz) guiLabelSetColor(labelmoney,255,0,0) imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) end ) function RefreshGridlist ( aElement , Col ) if ( getElementType ( aElement ) == "gui-gridlist" ) then guiGridListClear ( aElement ) Col = Col or 1 for i,v in ipairs ( getElementsByType("player") ) do local aRow = guiGridListAddRow ( aElement ) guiGridListSetItemText ( aElement , aRow , Col , getPlayerName ( v ) , false , false ) end end end bindKey(GUIEditor["Key"],"down", function ( ) guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) ) showCursor ( guiGetVisible ( panelmoney ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor.window ) ) RefreshGridlist ( GUIEditor.gridlist ) end ); function Update ( ) RefreshGridlist ( GUIEditor.gridlist ) end addEventHandler ("onClientPlayerJoin",root,Update) addEventHandler ("onClientPlayerChangeNick",root,Update) addEventHandler ("onClientPlayerQuit",root,Update) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false ) elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( GUIEditor.gridlist ) }; if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( GUIEditor.edit ) ~= "" ) then triggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(GUIEditor.gridlist,InfoSelected[1],InfoSelected[2]),guiGetText(GUIEditor.edit)) else outputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true) end end end ) ---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5 addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor_Image = {} GUIEditor = { button = {} } local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false) Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control) GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll) button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807") button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000") button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7") button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button11, "NormalTextColour", "FFEA5B0D") button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505") button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false) end ) bindKey("F5","down", function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control)) end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end ) ارجو مساعدة Edited March 12, 2017 by Ismaeel_finer Link to comment
Ahmed Ly Posted March 12, 2017 Share Posted March 12, 2017 (edited) ---Client key = "F6" --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) gridlist = guiCreateGridList(3,49,145,342,false,zzz) players = guiGridListAddColumn(gridlist,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz) edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz) labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz) guiLabelSetColor(labelmoney,255,0,0) imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) function refresh () guiGridListClear ( gridlist ) for i,v in ipairs ( getElementsByType("player") ) do local aRow = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist , aRow , players , getPlayerName ( v ) , false , false ) end end bindKey(key,"down", function ( ) guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) ) showCursor ( guiGetVisible ( panelmoney ) ) guiSetInputEnabled ( guiGetVisible ( panelmoney ) ) refresh() end ); addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false ) elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( gridlist ) }; if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( edit ) ~= "" ) then triggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(gridlist,InfoSelected[1],players),guiGetText(edit)) else outputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true) end end end ) ---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5 addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor_Image = {} GUIEditor = { button = {} } local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false) Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control) GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll) button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807") button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000") button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7") button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button3, "NormalTextColour", "FFEA5B0D") button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505") button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false) end ) bindKey("F5","down", function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control)) end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end ) Edited March 12, 2017 by Ahmed Ly Link to comment
Ismaeel_finer Posted March 12, 2017 Author Share Posted March 12, 2017 19 minutes ago, Ahmed Ly said: ---Client key = "F6" --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) gridlist = guiCreateGridList(3,49,145,342,false,zzz) players = guiGridListAddColumn(gridlist,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz)edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz)labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz)guiLabelSetColor(labelmoney,255,0,0)imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz)function refresh ()guiGridListClear ( gridlist )for i,v in ipairs ( getElementsByType("player") ) dolocal aRow = guiGridListAddRow ( gridlist )guiGridListSetItemText ( gridlist , aRow , players , getPlayerName ( v ) , false , false )endend bindKey(key,"down", function ( )guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) )showCursor ( guiGetVisible ( panelmoney ) )guiSetInputEnabled ( guiGetVisible ( panelmoney ) )refresh()end );addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false )elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( gridlist ) };if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( edit ) ~= "" ) thentriggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(gridlist,InfoSelected[1],players),guiGetText(edit))elseoutputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true)endendend)---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5addEventHandler("onClientResourceStart", resourceRoot, function()GUIEditor_Image = {}GUIEditor = { button = {}}local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false)Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control)GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll)button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807")button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000")button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7")button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button3, "NormalTextColour", "FFEA5B0D")button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505")button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false)end)bindKey("F5","down",function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control))end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end) قاعدة نفس مشكلة Link to comment
Ismaeel_finer Posted March 12, 2017 Author Share Posted March 12, 2017 48 minutes ago, Master_MTA said: debugscript 3 اخي لوتركز ع صورة اني مداير دي بق Link to comment
#Soking Posted March 12, 2017 Share Posted March 12, 2017 الدي بق ماله صلاح ال عارضه كله اخطاء ارقمنتات في فنكشات مالها علاقه خطء @Ahmed Ly انه سطر ٢٥ حاط كلمه اسمها بلايرز مادري وش وضعها دا رقم الكولمن Link to comment
Master_MTA Posted March 13, 2017 Share Posted March 13, 2017 والله يا طيبين مش موضوع تركيز الموضوع ان الصوره مب ظاهره عندي يقولي تعذر تحميل الصوره فما ادري هل انا لحالي؟ Link to comment
#Soking Posted March 13, 2017 Share Posted March 13, 2017 2 hours ago, Master_MTA said: والله يا طيبين مش موضوع تركيز الموضوع ان الصوره مب ظاهره عندي يقولي تعذر تحميل الصوره فما ادري هل انا لحالي؟ لا انا معك 1 Link to comment
Abu-Solo Posted March 13, 2017 Share Posted March 13, 2017 21 minutes ago, #Soking said: لا انا معك Me too Link to comment
Abdul KariM Posted March 13, 2017 Share Posted March 13, 2017 @#Soking كوده صحيح من ناحية الي تقول عليه شوف سطر 13 , لكنه مزود ارقمنت Link to comment
#Soking Posted March 13, 2017 Share Posted March 13, 2017 21 hours ago, Ahmed Ly said: ---Client key = "F6" --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) gridlist = guiCreateGridList(3,49,145,342,false,zzz) players = guiGridListAddColumn(gridlist,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz) edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz) labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz) guiLabelSetColor(labelmoney,255,0,0) imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) function refresh () guiGridListClear ( gridlist ) for i,v in ipairs ( getElementsByType("player") ) do local aRow = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist , aRow , players , getPlayerName ( v ) , false , false ) end end bindKey(key,"down", function ( ) guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) ) showCursor ( guiGetVisible ( panelmoney ) ) guiSetInputEnabled ( guiGetVisible ( panelmoney ) ) refresh() end ); addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false ) elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( gridlist ) }; if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( edit ) ~= "" ) then triggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(gridlist,InfoSelected[1],players),guiGetText(edit)) else outputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true) end end end ) ---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5 addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor_Image = {} GUIEditor = { button = {} } local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false) Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control) GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll) button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807") button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000") button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7") button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button3, "NormalTextColour", "FFEA5B0D") button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505") button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false) end ) bindKey("F5","down", function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control)) end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end ) 5 minutes ago, Abdul KariM said: @#Soking كوده صحيح من ناحية الي تقول عليه شوف سطر 13 , لكنه مزود ارقمنت شوف سطر ٢٥ 21 hours ago, Ahmed Ly said: ---Client key = "F6" --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) gridlist = guiCreateGridList(3,49,145,342,false,zzz) players = guiGridListAddColumn(gridlist,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz) edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz) labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz) guiLabelSetColor(labelmoney,255,0,0) imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) function refresh () guiGridListClear ( gridlist ) for i,v in ipairs ( getElementsByType("player") ) do local aRow = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist , aRow , players , getPlayerName ( v ) , false , false ) end end bindKey(key,"down", function ( ) guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) ) showCursor ( guiGetVisible ( panelmoney ) ) guiSetInputEnabled ( guiGetVisible ( panelmoney ) ) refresh() end ); addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false ) elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( gridlist ) }; if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( edit ) ~= "" ) then triggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(gridlist,InfoSelected[1],players),guiGetText(edit)) else outputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true) end end end ) ---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5 addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor_Image = {} GUIEditor = { button = {} } local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false) Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control) GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll) button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807") button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000") button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7") button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button3, "NormalTextColour", "FFEA5B0D") button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505") button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false) end ) bindKey("F5","down", function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control)) end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end ) 7 minutes ago, Abdul KariM said: @#Soking كوده صحيح من ناحية الي تقول عليه شوف سطر 13 , لكنه مزود ارقمنت شوف سطر ٢٥ # Edit :- مادري انه الارقمنت مو شرط رقم Link to comment
Abdul KariM Posted March 13, 2017 Share Posted March 13, 2017 مافيه شي يرجعلك برقم والمتغير راح تصير قيمته هذا الرقم يعني كأني حاط رقم 1 Link to comment
#Soking Posted March 13, 2017 Share Posted March 13, 2017 3 minutes ago, Abdul KariM said: مافيه شي يرجعلك برقم والمتغير راح تصير قيمته هذا الرقم يعني كأني حاط رقم يب لسه مراجع الويكي Link to comment
MR.StoRm Posted March 13, 2017 Share Posted March 13, 2017 addEventHandler("onClientResourceStart", resourceRoot, function() --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) GUIEditor.gridlist = guiCreateGridList(3,49,145,342,false,zzz) guiGridListAddColumn(GUIEditor.gridlist,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz) GUIEditor.edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz) labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz) guiLabelSetColor(labelmoney,255,0,0) imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) end ) function putPlayers() guiGridListClear(GUIEditor.gridlist) for i,player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(GUIEditor.gridlist) guiGridListSetItemText(GUIEditor.gridlist,row,1,getPlayerName(player),false,false) end end bindKey(GUIEditor["Key"],"down", function ( ) guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) ) showCursor ( guiGetVisible ( panelmoney ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor.window ) ) putPlayers() end ); function Update ( ) RefreshGridlist ( GUIEditor.gridlist ) end addEventHandler ("onClientPlayerJoin",root,Update) addEventHandler ("onClientPlayerChangeNick",root,Update) addEventHandler ("onClientPlayerQuit",root,Update) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false ) elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( GUIEditor.gridlist ) }; if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( GUIEditor.edit ) ~= "" ) then triggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(GUIEditor.gridlist,InfoSelected[1],InfoSelected[2]),guiGetText(GUIEditor.edit)) else outputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true) end end end ) ---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) جرب ذآ :) Link to comment
Ismaeel_finer Posted March 14, 2017 Author Share Posted March 14, 2017 اسف اخواني صورة مادري وش صارلها الحين ارفعها من جديد Link to comment
Ismaeel_finer Posted March 15, 2017 Author Share Posted March 15, 2017 On ١٣/٣/٢٠١٧ at 16:33, #Soking said: لا انا معك On ١٣/٣/٢٠١٧ at 14:14, Master_MTA said: والله يا طيبين مش موضوع تركيز الموضوع ان الصوره مب ظاهره عندي يقولي تعذر تحميل الصوره فما ادري هل انا لحالي؟ هادا لوحة اف 5 هادي لما اضغط علي لوحة ماتجدب اسماء لاعبين شوفو مكان ماوس مايطهر اسماء لاعبين Link to comment
Master_MTA Posted March 15, 2017 Share Posted March 15, 2017 24 minutes ago, Ismaeel_finer said: هادا لوحة اف 5 هادي لما اضغط علي لوحة ماتجدب اسماء لاعبين شوفو مكان ماوس مايطهر اسماء لاعبين تفضل addEventHandler("onClientResourceStart", resourceRoot, function() --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) graid = guiCreateGridList(3,49,145,342,false,zzz) guiGridListAddColumn(graid,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz) GUIEditor.edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz) labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz) guiLabelSetColor(labelmoney,255,0,0) imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) end ) function RefreshGridlist ( ) guiGridListClear ( graid ) for i,v in ipairs ( getElementsByType("player") ) do local aRow = guiGridListAddRow ( graid ) guiGridListSetItemText ( graid , aRow , 1 , getPlayerName ( v ) , false , false ) end end bindKey('f5',"down", function ( ) guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) ) showCursor ( guiGetVisible ( panelmoney ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor.window ) ) RefreshGridlist () end ); function Update ( ) RefreshGridlist () end addEventHandler ("onClientPlayerJoin",root,Update) addEventHandler ("onClientPlayerChangeNick",root,Update) addEventHandler ("onClientPlayerQuit",root,Update) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false ) elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( GUIEditor.gridlist ) }; if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( GUIEditor.edit ) ~= "" ) then triggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(GUIEditor.gridlist,InfoSelected[1],InfoSelected[2]),guiGetText(GUIEditor.edit)) else outputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true) end end end ) ---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5 addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor_Image = {} GUIEditor = { button = {} } local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false) Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control) GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll) button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807") button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000") button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7") button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button11, "NormalTextColour", "FFEA5B0D") button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505") button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false) end ) bindKey("F5","down", function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control)) end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end ) جرب ورد خبر سويتلك البايند كاي اف 5 عدله للي تبي انت Link to comment
Ismaeel_finer Posted March 15, 2017 Author Share Posted March 15, 2017 29 minutes ago, Master_MTA said: تفضل addEventHandler("onClientResourceStart", resourceRoot, function() --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) graid = guiCreateGridList(3,49,145,342,false,zzz) guiGridListAddColumn(graid,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz)GUIEditor.edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz)labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz)guiLabelSetColor(labelmoney,255,0,0)imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) end)function RefreshGridlist ( )guiGridListClear ( graid )for i,v in ipairs ( getElementsByType("player") ) dolocal aRow = guiGridListAddRow ( graid )guiGridListSetItemText ( graid , aRow , 1 , getPlayerName ( v ) , false , false )endend bindKey('f5',"down", function ( )guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) )showCursor ( guiGetVisible ( panelmoney ) )guiSetInputEnabled ( guiGetVisible ( GUIEditor.window ) )RefreshGridlist ()end ); function Update ( )RefreshGridlist ()endaddEventHandler ("onClientPlayerJoin",root,Update)addEventHandler ("onClientPlayerChangeNick",root,Update)addEventHandler ("onClientPlayerQuit",root,Update) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false )elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( GUIEditor.gridlist ) };if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( GUIEditor.edit ) ~= "" ) thentriggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(GUIEditor.gridlist,InfoSelected[1],InfoSelected[2]),guiGetText(GUIEditor.edit))elseoutputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true)endendend)---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5addEventHandler("onClientResourceStart", resourceRoot, function()GUIEditor_Image = {}GUIEditor = { button = {}}local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false)Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control)GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll)button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807")button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000")button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7")button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button11, "NormalTextColour", "FFEA5B0D")button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505")button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false)end)bindKey("F5","down",function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control))end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end) جرب ورد خبر سويتلك البايند كاي اف 5 عدله للي تبي انت تمام لحطة اخوي اجربه 47 minutes ago, Master_MTA said: تفضل addEventHandler("onClientResourceStart", resourceRoot, function() --panelmoney = guiCreateWindow(817,135,392,412,"",false) local screenW, screenH = guiGetScreenSize() panelmoney = guiCreateWindow((screenW - 530) / 2, (screenH - 416) / 2, 530, 416, "", false) guiWindowSetSizable(panelmoney, false) guiSetVisible(panelmoney,false) zzz = guiCreateStaticImage(10, 11, 510, 395,"images/LK.png",false,panelmoney) graid = guiCreateGridList(3,49,145,342,false,zzz) guiGridListAddColumn(graid,"Player",9,0) sendmoney = guiCreateButton(369, 117, 119, 43,"ارسال",false,zzz) Closed = guiCreateButton(307, 335, 167, 46, "اغلاق", false, zzz)GUIEditor.edit = guiCreateEdit(261, 203, 192, 37,"",false,zzz)labelmoney = guiCreateLabel(150,298,222,92,"BY LIBYA_FREE",false,zzz)guiLabelSetColor(labelmoney,255,0,0)imagemoneey = guiCreateStaticImage(215,2,93,70,"images/logo.png",false,zzz) end)function RefreshGridlist ( )guiGridListClear ( graid )for i,v in ipairs ( getElementsByType("player") ) dolocal aRow = guiGridListAddRow ( graid )guiGridListSetItemText ( graid , aRow , 1 , getPlayerName ( v ) , false , false )endend bindKey('f5',"down", function ( )guiSetVisible ( panelmoney , not guiGetVisible ( panelmoney ) )showCursor ( guiGetVisible ( panelmoney ) )guiSetInputEnabled ( guiGetVisible ( GUIEditor.window ) )RefreshGridlist ()end ); function Update ( )RefreshGridlist ()endaddEventHandler ("onClientPlayerJoin",root,Update)addEventHandler ("onClientPlayerChangeNick",root,Update)addEventHandler ("onClientPlayerQuit",root,Update) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if (source == Closed) then guiSetVisible (panelmoney,false) showCursor ( false )elseif ( source == sendmoney ) then local InfoSelected = { guiGridListGetSelectedItem ( GUIEditor.gridlist ) };if ( InfoSelected [ 1 ] ~= -1 and guiGetText ( GUIEditor.edit ) ~= "" ) thentriggerServerEvent("SendMoney",getLocalPlayer(),guiGridListGetItemText(GUIEditor.gridlist,InfoSelected[1],InfoSelected[2]),guiGetText(GUIEditor.edit))elseoutputChatBox("اختر لاعب او قم بكتابة رقم",255,0,0,true)endendend)---server addEvent("SendMoney",true) addEventHandler("SendMoney",root, function ( aPlayer , aPrice ) if ( getPlayerFromName ( aPlayer ) and tonumber ( aPrice ) ) then if ( getPlayerFromName ( aPlayer ) == source ) then return outputChatBox("* لايمكنك ارسال الفلوس لنفسك !",source,255,0,0,true) end if ( getPlayerMoney ( source ) >= tonumber ( aPrice ) ) then givePlayerMoney ( getPlayerFromName ( aPlayer ) , tonumber ( aPrice ) ) takePlayerMoney ( source , tonumber ( aPrice ) ) else outputChatBox("* ليس لديك مبلغ كافي "..aPrice.."",source,255,0,0,true) end end end ) ---لوحة اف 5addEventHandler("onClientResourceStart", resourceRoot, function()GUIEditor_Image = {}GUIEditor = { button = {}}local screenW, screenH = guiGetScreenSize() Control = guiCreateWindow((screenW - 767) / 2, (screenH - 507) / 2, 767, 507, "لوحة زوائد زروط ليبيا", false)Controll = guiCreateStaticImage(9,0,749,498,"images/rules.png",false,Control)GUIEditor_Image[1] = guiCreateStaticImage(224,4,325,275,"images/tarkep.png",false,Controll)button2 = guiCreateButton(3,212,233,63,"لوحة فتح ابواب السيارة",false,Controll) guiSetProperty(button2, "NormalTextColour", "FFE9F807")button8 = guiCreateButton(2,387,233,63,"لوحة حفط الملابس",false,Controll) guiSetProperty(button8, "NormalTextColour", "FFFF0000")button10 = guiCreateButton(4,295,233,63,"لوحة توب الدرفت",false,Controll) guiSetProperty(button10, "NormalTextColour", "FF01FAB7")button3 = guiCreateButton(536,295,233,63,"لوحة ارسال فلوس",false,Controll) guiSetProperty(button11, "NormalTextColour", "FFEA5B0D")button4 = guiCreateButton(534,385,233,63,"لوحة اختيار ليزر",false,Controll) guiSetProperty(button4, "NormalTextColour", "FF5AF505")button13 = guiCreateButton(533,218,233,63,"اغاني",false,Controll) guiSetProperty(button13, "NormalTextColour", "FFD7259A") guiSetVisible(Control,false)end)bindKey("F5","down",function () guiSetVisible(Control,not guiGetVisible(Control)) showCursor(guiGetVisible(Control))end) addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end) جرب ورد خبر سويتلك البايند كاي اف 5 عدله للي تبي انت اخي انا ماابيها لوحة ارسال تنفتح بزر اف5 ولا بزر تانية اريد حين اضغط اف5 علي تنفتحلي لوحة اضغط زر ارسال فلوس وتنفتحلي لوحة ومشكلة اسماء لاعبين Link to comment
#BrosS Posted March 15, 2017 Share Posted March 15, 2017 23 minutes ago, Ismaeel_finer said: اخي انا ماابيها لوحة ارسال تنفتح بزر اف5 ولا بزر تانية اريد حين اضغط اف5 علي تنفتحلي لوحة اضغط زر ارسال فلوس وتنفتحلي لوحة ومشكلة اسماء لاعبين شيل الزر وكذا هو مسويلك لما تضغط الزر يفتح لوحة ارسال الفلوس Link to comment
Ismaeel_finer Posted March 15, 2017 Author Share Posted March 15, 2017 1 minute ago, #BrosS said: شيل الزر وكذا هو مسويلك لما تضغط الزر يفتح لوحة ارسال الفلوس شلته مشكلة قاعدة Link to comment
#BrosS Posted March 15, 2017 Share Posted March 15, 2017 ضيف ده تحت فنشكن ضغط زر لوحة اللي تفتح لوحة الفلوس Update ( ) Link to comment
Ismaeel_finer Posted March 15, 2017 Author Share Posted March 15, 2017 2 minutes ago, #BrosS said: ضيف ده تحت فنشكن ضغط زر لوحة اللي تفتح لوحة الفلوس Update ( ) bindKey('',"down", function Update ( ) هكي؟ Link to comment
#BrosS Posted March 15, 2017 Share Posted March 15, 2017 1 minute ago, Ismaeel_finer said: bindKey('',"down",function Update ( ) هكي؟ addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) Update () guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) end end ) Link to comment
Ismaeel_finer Posted March 15, 2017 Author Share Posted March 15, 2017 13 minutes ago, #BrosS said: addEventHandler ("onClientGUIClick", root, function() if (source == button2) then guiSetVisible(Car, true) guiSetVisible(Control, false) elseif (source == button8) then guiSetVisible(Cj, true) guiSetVisible(Control, false) elseif (source == button10) then guiSetVisible(HD.wnd, true) guiSetVisible(Control, false) elseif (source == button3) then guiSetVisible(panelmoney, true) Update () guiSetVisible(Control, false) elseif (source == button4) then guiSetVisible(laser, true) guiSetVisible(Control, false) elseif (source == button13) then guiSetVisible(window, true) guiSetVisible(Control, false) 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