-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
شو الخطا هنا تابل function ( Adham ) if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local hour = getRealTime().hour local minute = getRealTime().minute local second = getRealTime().second+1 local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) end end) addEventHandler('onClientGUIClick',GUIEditor.button[1],Adham) addEventHandler( "onClientGUIAccepted",GUIEditor.edit[1],Adham)
-
سلام غليكم انا مسوي سبورت سيستم وعامل اذا ضعط علي send يكنب في القريد لست انا عاوز لما يضعط انتر يسوي الكتابه
-
شف ذا addEventHandler( "onClientResourceStart", getRootElement( ), function ( startedRes ) local sound = playSound("sounds/zahr.mp3") setSoundVolume(sound, 1) addEventHandler( "onClientSoundStopped", sound, function ( startedRes2 ) local sound2 = playSound("sounds/Indila.mp3") setSoundVolume(sound2, 1) end ) addEventHandler( "onClientSoundStopped", sound2, function ( startedRes3 ) local sound3 = playSound("sounds/za.mp3") setSoundVolume(sound3, 1) end ) end )
-
جربتهه ما اشتغل لما حطيط guiGridListAddColumn(grid, "ChedkBox", 0.2) بـدـل local Cloumn = guiGridListAddColumn(grid, "ChedkBox", 0.2) اشتغل تمام ^
-
سوال بس من الطفل ^؟ وبعدين اخ soking كودك ما اشتغل لان ما في قبل الكلوم local clomun لين حطيطه اشتغل لا تجيب كلام من دمغاك
-
غير مجرب ^ antiSpam = {} function antiChatSpam() if isTimer(antiSpam[source]) then cancelEvent() outputChatBox("SPAM", getRootElement(), 255, 255, 0,true) setPlayerMuted(source, true) setTimer ( antiSpam, 60000, 1, source) else antiSpam[source] = setTimer(function(source) antiSpam[source] = nil end, 1000, 1, source) end end addEventHandler("onPlayerChat", root, antiChatSpam)
-
الوحتين اهم ! GUIEditor = { checkbox = {}, window = {}, button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(289, 180, 374, 286, "#text", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) GUIEditor.checkbox[1] = guiCreateCheckBox(14, 67, 246, 15, "Card", false, false, GUIEditor.window[1]) GUIEditor.checkbox[2] = guiCreateCheckBox(14, 97, 246, 15, "STC", false, false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(76, 154, 225, 27, "Send", false, GUIEditor.window[1]) wnd = guiCreateWindow(90, 103, 618, 437, "#", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd, false ) grid = guiCreateGridList(9, 21, 599, 406, false, wnd) guiGridListAddColumn(grid, "ChedkBox", 0.2) end ) guiSetVisible ( GUIEditor.window[1], false ) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F10", "down", OpenWin) guiSetVisible ( wnd, false ) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(false) end end bindKey("F9", "down", OpenWin) addEventHandler('onClientGUIClick',GUIEditor.button[1], function ( ) guiGridListClear(grid ) if ( guiCheckBoxGetSelected(GUIEditor.checkbox[1]) == true ) then guiGridListSetItemText( grid, guiGridListAddRow( grid ), Colmn,'1 Card',false,false) end if ( guiCheckBoxGetSelected(GUIEditor.checkbox[2]) == true ) then guiGridListSetItemText( grid, guiGridListAddRow( grid ), Colmn,'STC',false,false) end end , false )
-
يخي افهم انا عامل الشيك بوكس في لوحة اوله والقريد لست بالحوه تاني ! بالوحه
-
GUIEditor.checkbox[1] = guiCreateCheckBox(135, 256, 214, 19, "مميز ( 50 جنيه / شهرين )", false, false, GUIEditor.window[1]) GUIEditor.checkbox[2] = guiCreateCheckBox(330, 260, 214, 19, "عادي ( 30 جنيه / شهرين )", false, false, GUIEditor.window[1]) wnd = guiCreateWindow(90, 103, 618, 437, "#", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd, false ) grid = guiCreateGridList(9, 21, 599, 406, false, wnd) local Colmn = guiGridListAddColumn(grid, "ChedkBox", 0.2) واحد يفتح ف10 والفي قريد لست ف9
-
قلت فوق انا عامل 2 شيك بوكس بلوحة الاوله و القريد لست في الوحة التانيه
-
ممكن المشكله من ان اللوحة القريد لست في لوحة تاني والشيك بوكس في لوحة اخري
-
ما ظبت كل الاكواد addEventHandler('onClientGUIClick',GUIEditor.button[1], function ( ) guiGridListClear(grid ) if ( guiCheckBoxGetSelected(GUIEditor.checkbox[1]) == true ) then guiGridListSetItemText( grid, guiGridListAddRow( grid ), Colmn,'1 Card',false,false) end if ( guiCheckBoxGetSelected(GUIEditor.checkbox[2]) == true ) then guiGridListSetItemText( grid, guiGridListAddRow( grid ), Colmn,'STC',false,false) end end , false ) wnd = guiCreateWindow(90, 103, 618, 437, "#", false) guiWindowSetSizable(wnd, false) guiSetVisible(wnd, false ) grid = guiCreateGridList(9, 21, 599, 406, false, wnd) local Colmn = guiGridListAddColumn(grid, "ChedkBox", 0.2)
-
ما جا في القريد لست تبعي addEventHandler('onClientGUIClick',GUIEditor.button[1], function ( ) if ( guiCheckBoxGetSelected(GUIEditor.checkbox[1]) == true ) then local Row = guiGridListAddRow( grid ) guiGridListSetItemText( grid, Row, Column4,'30ج',false,false) end if ( guiCheckBoxGetSelected(GUIEditor.checkbox[2]) == true ) then local Row = guiGridListAddRow( grid ) guiGridListSetItemText( grid, Row, Column4,'50ج',false,false) end end , false )
-
ما ظبت addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[3] ) then local Row = guiGridListAddRow( grid ) if ( guiCheckBoxSetSelected(GUIEditor.checkbox[1]) == true ) and guiCheckBoxSetSelected(GUIEditor.checkbox[1]) == true ) guiGridListSetItemText( grid, Row, Column4,guiCheckBoxSetSelected(GUIEditor.checkbox[1]),false,false) end end)
-
سلام عليكم انا مسوي 2 شيك بوكس ابي لما يحدد علي شيك بوكس واحد وضعط علي ال button يجي الهو حدوو في القريد لست ولو حدد ال2شيك بوكس التاني يجي برده
-
طيب تمام انا عاوز لما يحدد علي شي من ال2 شيك بوكس واحده منهم . يجي الحددو من الشيك بوكس مثلن اول شي بوكس كارد التاني STC لو حدد كارد يجي في القريد لست مره واحده فقط مب كذا مره ولازم يضعط علي button مش تيجي علطول