Jump to content

terreus

Members
  • Posts

    476
  • Joined

  • Last visited

Everything posted by terreus

  1. لاعبين متواجدين فنكشات : guiGridListGetSelectedItem guiGridListGetItemText getPlayerFromName guiGridListClear killPed destroyElement aclGetGroup بروب
  2. تمام بس لو بليناكس عرف الخطة راح ننفضح أحذف ردك ايها المجهول لكي لا ننكشف ممم نيس خطة
  3. بس ؟ نعال عندنا رابت شهري 4 مليون في جزائر ذي
  4. . قال افي ومابات ريس وش يرقصون معها ؟ ترا حملت ماب روعة فيها 570 سطر
  5. يترفع ولا يرتفع يترفع ولا يطير
  6. local Groups = { "Console", "Admin" } --قروبات مسموح تعطيل وفتح شات local GroupsSpek = { "Console", "Admin" } --قروبات التي تستطيع كتابة في شات بعد تعطيل شات function chatDis(command) cancelEvent() outputChatBox("*** THE CHAT IS DISABLED ***",source,255,0,0) for k,p in ipairs ( GroupsSpek ) do if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup(p)) ) then addEventHandler("onPlayerChat",getRootElement(),chatDis) end end addCommandHandler("cd",chatDis) -- تعطيل شات function chatEN(command,thePlayer) for k,v in ipairs ( Groups ) do if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup(v)) ) then outputChatBox("*** THE CHAT IS NOW ENABLED ***",getRootElement(),255,0,0) removeEventHandler("onPlayerChat",getRootElement(),chatDis) end end addCommandHandler("ce",chatEN) -- تفعيل شات
  7. GUIEditor = { window = {}, button = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0.30, 0.23, 0.35, 0.43, "", true); guiWindowSetMovable(GUIEditor.window[1], false); guiSetAlpha(GUIEditor.window[1], 0.87); setBindKeyWindowShow ( GUIEditor.window[1], "F1" ); -- هنا غير مكان زر GUIEditor.button[1] = guiCreateButton(334, 29, 138, 30, "ارسال رساله للادمن", false, GUIEditor.window[1]); GUIEditor.button[2] = guiCreateButton(334, 69, 138, 30, "", false, GUIEditor.window[1]); GUIEditor.button[3] = guiCreateButton(186, 29, 138, 30, "تحديد الموقع", false, GUIEditor.window[1]); GUIEditor.button[4] = guiCreateButton(186, 69, 138, 30, "الليــزر", false, GUIEditor.window[1]); GUIEditor.button[5] = guiCreateButton(334, 109, 138, 30, "", false, GUIEditor.window[1]); GUIEditor.button[6] = guiCreateButton(186, 109, 138, 30, "", false, GUIEditor.window[1]); GUIEditor.button[7] = guiCreateButton(334, 149, 138, 30, "", false, GUIEditor.window[1]); GUIEditor.button[8] = guiCreateButton(186, 149, 138, 30, "", false, GUIEditor.window[1]); GUIEditor.button[9] = guiCreateButton(334, 189, 138, 30, "", false, GUIEditor.window[1]); GUIEditor.button[10] = guiCreateButton(186, 189, 138, 30, "", false, GUIEditor.window[1]); GUIEditor.button[11] = guiCreateButton(186, 229, 138, 30, "", false, GUIEditor.window[1]); GridList = guiCreateGridList(9, 70, 167, 233, false, GUIEditor.window[1]); guiGridListAddColumn(GridList, "Player", 0.9); changeGridListItemToPlayersName (GridList, col ); GUIEditor.memo[1] = guiCreateMemo(9, 20, 167, 39, "", false, GUIEditor.window[1]); end ) --Grid Player changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then if getElementType ( GridList ) == "gui-gridlist" then if guiGridListClear ( GridList ) then for i, v in next, getElementsByType ( "player" ) do local Row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, Row, Column, getPlayerName ( v ), false, false ); end; end; end; end; end; --Gui Open setBindKeyWindowShow = function ( guiWindow, key ) if guiWindow and key then if getElementType ( guiWindow ) == "gui-window" then guiSetVisible ( guiWindow, false ); local setBindKey_ = function ( key ) guiSetVisible ( guiWindow, not guiGetVisible ( guiWindow ) ); showCursor ( guiGetVisible ( guiWindow ) ); end return bindKey ( key, "down", setBindKey_ ); else return false; end else return false; end end
  8. من متى Your Admin انا صاحب موضوع : | قلت يغلق لا تزود مشاركات
  9. بحاول احذف صورة واغيره لل Window
  10. https://forum.multitheftauto.com/viewtopic.php?f=161&t=64607 ذذ فنكش حقه
  11. لازم يون تحت startGui تشتغل لوحة وتهضر وجربت كو حقك وتخربت لوحة
  12. local screenW, screenH = guiGetScreenSize() function startGui () lightsWindow = guiCreateStaticImage(screenW - 623 - 10, (screenH - 443) / 2, 623, 443, "led.png", false) previewStaticImage = guiCreateStaticImage(211, 195, 208, 171, "images/"..currentLight..".jpg", false, lightsWindow) lightsComboBox = guiCreateComboBox(201, 113, 233, 200, "Default", false, lightsWindow) for i,light in ipairs (lights) do local id = guiComboBoxAddItem (lightsComboBox,light) if light == currentLight then guiComboBoxSetSelected(lightsComboBox,id) end end addEventHandler("onClientGUIComboBoxAccepted",lightsComboBox,changeLights) drawlightsCheckBox = guiCreateCheckBox(205, 141, 35, 30, "", false, false, lightsWindow) guiSetAlpha(drawlightsCheckBox, 0.22) local saveChangesButton = guiCreateButton(212, 373, 70, 30, "", false, lightsWindow) guiSetAlpha(saveChangesButton, 0.18) guiSetProperty(saveChangesButton, "NormalTextColour", "FFAAAAAA") local closeWindowButton = guiCreateButton(349, 373, 70, 30, "", false, lightsWindow) guiSetAlpha(closeWindowButton, 0.18) guiSetProperty(closeWindowButton, "NormalTextColour", "FFAAAAAA") addEventHandler("onClientGUIClick",saveChangesButton,saveChanges,false) addEventHandler("onClientGUIClick",closeWindowButton,closeWindow,false) end
  13. ذذ فنكش تحريك نافذة واضافة تاثيراتت
  14. وش تخلط انتا خليك مكانك افضل قال صورة ذذ فنكش تحريك واضافة تاثيرات ع نافذة
  15. سويت كل شيء بس ميشتغل
  16. reseller ذذ خادم خاصص لل استضافة دومين مو Vps والريسلر مو زي في بي اس لازم كثير من مساحات ورام
  17. السلام وعليكم اليوم حبيت اسوي نافذة وحركات وتاثيرات ببي فنكش Pain بس مشتغل ويقولي في شات : Not GUI Element ذذ كود فتح نافذة Open : bindKey("F4","Down", function() if lightsWindow then guiSetVisible(lightsWindow,not guiGetVisible(lightsWindow)) showCursor(guiGetVisible(lightsWindow)) guiAddInterpolateEffect( lightsWindow, cx, cy, cw, ch, 0, 0, 0, 0, 2, "OutBounce", "OutInElastic", false ) else guiAddInterpolateEffect( lightsWindow, 0, 0, 0, 0, x, y, w, h, 2, "OutBounce", "OutBounce", true ) showCursor (true) startGui() end end, false) function guiAddInterpolateEffect( ... ) return call( getResourceFromName( "GIE" ), "guiAddInterpolateEffect", unpack( { ... } ) ) end خطأ او معرف مهم ؟
  18. ذذ موضوع صوري مو سمجة
  19. وش اخوف؟ ع فرقعه
  20. ضضضضضضضضضضضضضضضضضضضضض امزح :]
  21. وين نشرها بفرقعه ما نشر صورتك نشر صورة حقت تابل البرازيلي و الصورة اتنشرت بكل مكان طيب ليه تعدل ع صورة صديقي وتحط له قرد
×
×
  • Create New...