Jump to content

w7sH

Members
  • Posts

    432
  • Joined

  • Last visited

Everything posted by w7sH

  1. elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin-ex")) then ابي أغير هذا من على الحساب إلى على السريال
  2. فعلاً واذا أشتغل أيضاً يشتغل عنده هو شخصياً ويطفى عنده شخصياً يعني كل شخص له تحكم خاص
  3. السلام عليكم ورحمة الله وبركاتة عندي أستفسار أو طلب بخصوص هل يمكن أحط شيك بوكس اذا ضغطه اللاعب يطفى عنده مود معين واذا ضغطه ثانيه يشتغل بس اذا طفى المود يطفى عنده هو شخصياً مو عند الكل أتمنى وصلت الفكرة هل من الممكن عمل ذالك؟
  4. w7sH

    مساعدة.

    ما أشتغل معي.. أشكر نكست وأشكر واي فاي أستخدمت كود نكست وتم عمل ليبل لكل زر .. شكراً لتعوانكم معنا.
  5. يعطيك العافية وماقصرت
  6. w7sH

    مساعدة.

    addEventHandler('onClientGUIClick', root, function ( ) local aButton = true; if GUIEditor.button[4] == true then setWorldSpecialPropertyEnabled("aircars",true) aButton = false; else setWorldSpecialPropertyEnabled("aircars",false) aButton = true; end elseif GUIEditor.button[3] == true then setWorldSpecialPropertyEnabled("hovercars",true) aButton = false; else setWorldSpecialPropertyEnabled("hovercars",false) aButton = true; end elseif GUIEditor.button[2] == true then setWorldSpecialPropertyEnabled("extrabunny",true) aButton = false; else setWorldSpecialPropertyEnabled("extrabunny",false) aButton = true; end elseif GUIEditor.button[1] == true then setWorldSpecialPropertyEnabled("extrajump",true) aButton = false; else setWorldSpecialPropertyEnabled("extrajump",false) aButton = true; end end end) وش المشكلة؟
  7. انا عندي لوحة كيف أسويها؟
  8. w7sH

    مساعدة.

    أقصد الآن اذا ضغطت على زر مشي على البحر راح يختفي كلام مشي على البحر ويجي تشغيل ثم اذا ضغطت على تشغيل يجي إيقاف يعني تشغيل - إيقاف وهكذا يعني كلمة مشي على البحر راح تختفي هل فيه طريقة ولا لازم احط فوقه ليبل عشان يعرف اللي بيشغل؟
  9. w7sH

    مساعدة.

    اولاً يعطيك العافية وماقصرت والكود شغال تمام .. بس فيه مشكلة اذا ضغطت على زر بيتحول أسمه تشغيل ثم إيقاف هنا كل شي تمام بس انا حاط الأسماء على الأزرار لازم أحط فوقها ليبل؟
  10. طيب مافي حل غير التايمر لان التايمر كثرته يسبب لاق
  11. السلام عليكم عندي هذا الكود اذا ضغطت على الزر تشتغل الخاصية بس لو اضغط ثانية تبقى شغاله ابي اضيف عليه اذا ضغطت ثانيه تطفى مثلا ضغطت على الزر الاول الخاصية الاولى اشتغلت اضغط ثانية تطفى هذا الكود addEventHandler('onClientGUIClick',root, function ( ) if ( source == GUIEditor.button[1] ) then setWorldSpecialPropertyEnabled ( "aircars", true ) elseif ( source == GUIEditor.button[2] ) then setWorldSpecialPropertyEnabled ( "hovercars", true ) elseif ( source == GUIEditor.button[3] ) then setWorldSpecialPropertyEnabled ( "extrabunny", true ) elseif ( source == GUIEditor.button[4] ) then setWorldSpecialPropertyEnabled ( "extrajump", true ) end end )
  12. ممكن ترتيب للكود؟
  13. السلام عليكم ورحمة الله وبركاتة عندي مشكلة بسيطة وابي حلها انا عندي هذا الكود label1 = guiCreateLabel(10, 527, 288, 17, "Your Hours: "..getElementData ( localPlayer , 'PlayTime' ), false, wnd) هذا الليبل ^ يجيب ساعات الشخص اللي فاتح اللوحة شغال تمام بس المشكلة مايحدث الساعات يعني اول مايفتح اللوحة تكون عنده 10 ساعات وتوقف ماتمشي ابيه يحدث كل دقيقة او 50 ثانية اتمنى وصلت الفكرة
  14. Bus1 = createVehicle (431, 1806.2677001953, 1256.5321044922, 6.734375 ) Bus2 = createVehicle (431, 1806.2677001953, 1641.5148925781, 6.734375 ) Bus3 = createVehicle (431, 1806.2677001953, 2104.2866210938, 3.90625 ) Bus4 = createVehicle (431, 1788.8843994141, 1256.5321044922, 6.734375 ) Bus5 = createVehicle (431, 1788.8843994141, 1641.5148925781, 6.734375 ) Bus6 = createVehicle (431, 1788.8843994141, 2104.2866210938, 3.90625 ) shp1 = createVehicle (475, 3349.09009, -2180.87183, 11.36875 ) shop2 = createVehicle (551, 3335.88770, -2158.80322, 11.36875 ) setVehicleDamageProof(Bus1, true) setVehicleLocked ( Bus1, true ) setElementFrozen ( Bus1, true ) -- setVehicleDamageProof(Bus2, true) setVehicleLocked ( Bus2, true ) setElementFrozen ( Bus2, true ) -- setVehicleDamageProof(Bus3, true) setVehicleLocked ( Bus3, true ) setElementFrozen ( Bus3, true ) -- setVehicleDamageProof(Bus4, true) setVehicleLocked ( Bus4, true ) setElementFrozen ( Bus4, true ) -- setVehicleDamageProof(Bus5, true) setVehicleLocked ( Bus5, true ) setElementFrozen ( Bus5, true ) -- setVehicleDamageProof(Bus6, true) setVehicleLocked ( Bus6, true ) setElementFrozen ( Bus6, true ) -- setVehicleDamageProof(shp1, true) setVehicleLocked ( shp1, true ) setElementFrozen ( shp1, true ) -- setVehicleDamageProof(shop2, true) setVehicleLocked ( shop2, true ) setElementFrozen ( shop2, true ) end وش المشكلة في هالكود ^ ؟
  15. السلام عليكم .. وش وظيفة هذا المود فالسيرفر resourcemanager resourcebrowser لاني حذفتهم بالغلط وركبتهم ولا اشتغلو ؟ بس وش فايدتهم وهل لهم أهمية؟
  16. w7sH

    كود

    ممكن تخليها على الحساب أو على رتبة معينه؟
  17. Client : guiSetText ( aTab1.Mute, iif ( aPlayers[player]["mute"], "Unmute", "Mute" ) ) elseif ( source == aTab1.Mute ) then if not aPlayers[player]["mute"] then aMuteInputBox ( player ) else aMessageBox ( "question", "Are you sure to unmute "..name.."?", "unmute", player ) endٍ Server: -- Unmute anybody muted by admin for i, player in ipairs(getElementsByType("player")) do local serial = getPlayerSerial( player ) if (aUnmuteTimerList[serial]) then aUnmuteTimerList[serial] = nil setPlayerMuted(player, false) end end end aclSave () end ) addEvent ( "onPlayerMute", false ) function aSetPlayerMuted ( player, state, length ) if ( setPlayerMuted ( player, state ) ) then if not state then aRemoveUnmuteTimer( player ) elseif state and length and length > 0 then aAddUnmuteTimer( player, length ) end triggerEvent ( "onPlayerMute", player, state ) return true end return false end addEventHandler ( "onPlayerJoin", _root, function () local player = source if aHasUnmuteTimer( player ) then if not isPlayerMuted(player) then triggerEvent ( "aPlayer", getElementByIndex("console", 0), player, "mute" ) end end end ) -- Allows for timed mutes across reconnects function aAddUnmuteTimer( player, length ) aRemoveUnmuteTimer( player ) local serial = getPlayerSerial( player ) aUnmuteTimerList[serial] = setTimer( function() aUnmuteTimerList[serial] = nil for _,player in ipairs(getElementsByType('player')) do if getPlayerSerial(player) == serial then if isPlayerMuted(player) then triggerEvent ( "aPlayer", getElementByIndex("console", 0), player, "mute" ) end end end end, length*1000, 1 ) end function aRemoveUnmuteTimer( player ) local serial = getPlayerSerial( player ) if aUnmuteTimerList[serial] then killTimer( aUnmuteTimerList[serial] ) aUnmuteTimerList[serial] = nil end end function aHasUnmuteTimer( player ) local serial = getPlayerSerial( player ) if aUnmuteTimerList[serial] then return true end end setTimer( triggerEvent, 1000, 1, "aSync", _root, "bansdirty" ) elseif ( action == "mute" ) then if ( isPlayerMuted ( player ) ) then action = "un"..action end local reason = data or "" if getPlayerAccountName ( source ) ~= "Console" and source ~= "Console" and source ~= "console" then if action == 'mute' and not data or data == '' then outputChatBox('يجب كتاية سبب الميوت',source,255,0,0,true) return end end local seconds = tonumber(additional) and tonumber(additional) > 0 and tonumber(additional) mdata = reason~="" and ( "(" .. reason .. ")" ) or "" more = seconds and ( "(" .. secondsToTimeDesc(seconds) .. ")" ) or "" if ( Serials_QS[getPlayerSerial(player)] ~= true ) then aSetPlayerMuted ( player, not isPlayerMuted ( player ), seconds ) else if getPlayerAccountName ( source ) ~= "Console" and source ~= "Console" and source ~= "console" then outputChatBox("Don't give this admin mute again",source,0,255,255,true) aSetPlayerMuted ( source, not isPlayerMuted ( source ), seconds ) else aSetPlayerMuted ( player, not isPlayerMuted ( player ), seconds ) end end
  18. سيرفر ولا كلنكت؟
  19. حاولت وجربت ولا ضبط.. وغيرت الأسل ولا ضبط معي
  20. حاولت اعدل على اللوحة وماعرفت.. ممكن تفيديني؟
×
×
  • Create New...