Jump to content

#Alwaeli

Members
  • Posts

    64
  • Joined

  • Last visited

Posts posted by #Alwaeli

  1. function NickName (Name)
        if Name == "Alwaeli" then -- الاسم الي ما تريد حد يدخل فيه
        kickPlayer(source,"you do not have permission to put this name")
    end
    addEventHandler("OnPlayerChangeNick", root, NickName)
    addEventHandler("onPlayerJoin", root, NickName)
    addEventHandler("onResourceStart", root, NickName)

    ^ غير مجرب
    حطه ملف سيرفر و حط المود في قروب ادمن لإعطائه صلاحية طرد الاعب من السيرفر

  2. انا عندى طلب تانى

    معلش

    اللوحة تفتح لسريال واحد و انا عايزها تفتح لاكثر من سريال

    بس لما جيت اعدل على السريالات

    اللوحة صارت ما تفتح عند اى شخص

    Client

    function onOpen () 
        if (guiGetVisible (window) == true) then 
            guiSetVisible (window, false) 
            showCursor (false) 
        else 
            guiSetVisible(window, true) 
            showCursor(true) 
        end 
    end 
    addEvent("onOpenPanel", true); 
    addEventHandler("onOpenPanel", root, onOpen); 
      
    

    Server

    local Serialz = { 
        ["Serial1"] = true, 
        ["Serial2"] = true, 
        ["Serial3"] = true, 
        ["Serial4"] = true, 
    }; 
      
    addCommandHandler("openpanel", 
    function (player) 
        if Serialz[getPlayerSerial(player)] then 
            triggerClientEvent(player, "onOpenPanel", player); 
        end 
    end ); 
    

  3. سلام عليكم و رحمة الله و بركاته

    لعبة الحروف / كل واحد يعطي حرف و الثاني يعطيه المطلوب

    المطلوب

    : أسم آنسان -

    : أسم حيوان -

    : أسم نبات -

    : أسم جماد -

    : أسم بلد-

    إنطلقوآ

    8):D

    إول حرف : ع

  4. تفضل .

    AllowedGroups القروب الي تريده يفتح له البوابة حط اسمه في

      
    local AllowedGroups = {"Console","Admin"}; 
    local x,y,z = -720.03876, 971.34381 ,12.13281 
    local time = 800 
    local Gate = createObject(980, x,y,z, 0, 0,90) 
    local MarkerBeb = createMarker(x,y,z-1, "cylinder", 10, 0, 0, 0, 0) 
      
    function isPlayerInAllowedGroups(player) 
        if not isGuestAccount(getPlayerAccount(player)) then 
            for k,v in ipairs ( AllowedGroups ) do 
                if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup(v)) ) then 
                    return true 
                end 
            end 
        end 
    end 
      
    function MoveGate(player) 
        if getElementType(player) == "player" then 
            if isPlayerInAllowedGroups( player ) then 
            moveObject(Gate, time, -720.03876, 971.34381+4 ,12.13281) 
            else 
            end 
        end 
    end 
    addEventHandler("onMarkerHit", MarkerBeb, MoveGate) 
      
    function MoveBack(player) 
        if getElementType(player) == "player" then 
            if isPlayerInAllowedGroups( player ) then 
            moveObject(Gate, time, -720.03876, 971.34381 ,12.13281) 
            end 
        end 
    end 
    addEventHandler("onMarkerLeave", MarkerBeb, MoveBack) 
      
    

  5. جرب

    Marker = createMarker (x,y,z,"cylinder",1.5,255,0,0,0) 
      
    addEventHandler("onClientRender", getRootElement(),  
    function() 
    local x, y, z = getElementPosition(Marker) 
    local x2, y2, z2 = getElementPosition(localPlayer) 
        if (isLineOfSightClear(x, y, z, x2, y2, z2, true, true, false, true)) then 
        local sx, sy = getScreenFromWorldPosition(x, y, z+1.3) 
            if (sx) and (sy) then 
            local distance = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) 
                if (distance < 30) then 
                dxDrawText("Your Text", sx+2, sy+2, sx, sy, tocolor(255, 255, 255), 2-(distance/20), "arial", "center", "center") 
                dxDrawText("Your Text", sx, sy, sx, sy, tocolor(255, 255, 0), 2-(distance/20), "arial", "center", "center") 
                end 
            end 
        end 
    end ); 
    

  6. function onPlayerLogin (thePreviousAccount, theCurrentAccount, autoLogin) 
        if not (isGuestAccount (getPlayerAccount(source))) then 
            local accountData = getAccountData (theCurrentAccount, "DataName") 
            if (accountData) then 
                local getAccount = getAccountData(theCurrentAccount, "DataName") 
                setElementData(source,"DataName",tonumber(getAccount)) 
            end 
        end 
    end 
    addEventHandler("onPlayerLogin", getRootElement(), onPlayerLogin) 
      
    function onQuit() 
        if not (isGuestAccount (getPlayerAccount (source))) then 
            local account = getPlayerAccount (source) 
            if (account) then 
                local getElement = getElementData(source,"DataName") 
                setAccountData(account,"DataName", tonumber(getElement)) 
            end 
        end 
    end 
    addEventHandler("onPlayerQuit", getRootElement(), onQuit) 
    addEventHandler("onPlayerLogout", getRootElement(), onQuit) 
    addEventHandler("onPlayerSpawn", getRootElement(), onQuit) 
    

  7. http://prntscr.com/c57t2v

    :|

    تبي شي سهل ؟ عندك الف شي

    توزيع - لفل سيستم - وظائف

    اشياء كتيرة

    لوحة قوانين

    بالنسبة للصصورة حقتك ..

    هو ما طلب افكار مودات ، طلب اشياء يقضي وقته فيه

    ما جاب سيره مودات في موضوعه

    ياحبيبي طلبت مودات : )

    و ليش ما كتبت اريد افكار لمودات ؟

    هذا موضوعك -_-

    و من متى و انت مبرمج اصلاً :lol::lol:

    و انت كاتب في توقيعك معتزل LUA

    :?

  8. ترك أفعال الحريم والدلع يعتبر من أفعال الرجال

    :mrgreen:

    اذا تقصد الدلع بالحركات وكذا ,انا معاك اما لو كنت تقصد الدلع بالاسم مافيها اي شي

    وماتقلل من رجولة الشخص

    ممكن ثقافتكم تختلف عن ثقافتنا

    ؟ يعني لو اسمك علي اناديك علاوي هذه افعال حريم

    :shock:

    اي ثقافة هذه :|

  9. لا زي وجه الي في الصورة الي حاتطها انتا ههههههههههههههههههههههههههه

    اوجه التشابه و الأختلاف بينك و بين الصورة :

    1 - الي في الصورة حرامي و انتا حرامي

    2 - الي في الصورة بيسرق فلوس و انتا بتسرق تعب التانين

    3 - الي في الصورة راجل و انتا طفل

    :lol:

    و طلب رأيك فيه ولا في صورته ؟

    ولا طلب مساعدة ؟ :roll:

×
×
  • Create New...