Jump to content

أكواد للمقراااات


Recommended Posts

الدخول و الخروج من بيت المقر

--******************* 
-- By Manster .. 
--******************* 
local Manstermarker = createMarker(x,y,z, "arrow", 2, 251, 96, 3, 153)-- احداثيات الماركر خارج البيت 
addEventHandler("onMarkerHit", Manstermarker, 
    function (player) 
       if getElementType(player) == "player" then 
       if ( isPedInVehicle(player) ) then return end 
       if ( getElementData(player, "Group") ~= "Group Name" ) then 
       outputChatBox("#FF0000* This House Only For Group Name ", player, 255, 255, 0, true) 
       else 
      outputChatBox("#00ff00* Hello #fff000.:[#ff0000 "..getPlayerName(player).." #fff000]:.", player, 255, 255, 0, true) 
      setElementInterior(player, 1) 
      setElementPosition(player, x,y,z)-- احداثيات دخول البيت 
           end 
      end 
end) 
  
local Manstermarker2 = createMarker(x,y,z, "arrow", 2, 251, 96, 3, 153)-- احداثيات الماركر داخل البيت 
setElementInterior(Manstermarker2, 1) 
addEventHandler("onMarkerHit", Manstermarker2, 
    function (MarkerHit) 
           if getElementType(MarkerHit) == "player" then 
           if ( getElementData(MarkerHit, "Group") ~= "Group Name" ) then 
           outputChatBox("#FF0000* This House Only For Group Name ", MarkerHit, 255, 255, 0, true) 
          else 
          setElementInterior(MarkerHit, 0) 
          setElementPosition(MarkerHit, x,y,z)-- احداثيات خارج البيت 
         outputChatBox("#FF0000*Good Bye #fff000.:[ #ff0000"..getPlayerName(MarkerHit).." #fff000]:.", MarkerHit, 255, 255, 0, true) 
        end 
     end   
end) 
  

الدم و الدرع ماركر

اذا م خاب ضمي الكود ل عناد اتوقع مو اكيد ابدا

marker = createMarker ( 1925, 484, 61, "cylinder", 2, 255, 0, 255, 255 ) 
      
addEventHandler ( "onMarkerHit", marker, 
    function ( player ) 
        if getElementType ( player ) == "player" then 
            local playerTeam = getPlayerTeam ( player ) 
            if playerTeam then 
                if playerTeam == getTeamFromName ( "SWAT" ) then 
                    setPedStat ( player, 24, 989 ) 
                    setElementHealth ( player, 200 ) 
                    setPedArmor ( player, 100 ) 
                    setPedSkin ( player, 115 ) 
                else 
                    outputChatBox ( "* You most be 'SWAT'", player, 0, 0, 255, true ) 
                end 
            end 
        end 
    end 
, false ) 

تثبيت رسسباون ل برستيج

امسح الكلام العربي

-- # Server Side : 
addEventHandler("onPlayerWasted",getRootElement(), -- حدث عند الوفآهـ - الموت 
    function ( ) -- وظيفة 
        if ( getElementData ( source , "Group" ) == "Group Name" ) then -- تحقق من القروب بالداتا 
            spawnPlayer ( source , x , y , z ) -- سباون للاعب 
        end -- اغلاق if 
    end -- اغلاق الوظيفة 
) -- اغلاق الايفنت # 

فتح واغلاق البوابة حق اسامة

Team = "اسم الفريق" 
local Object = createObject ( ID, x, y, z, rx, ry, rz ) 
local Marker = createMarker ( -11.482395172119, 2071.0393066406, 17.4921875, "cylinder", size, 0, 0, 0, 80 ) 
  
function OpenObject ( player ) 
    if isElementWithinMarker ( player, Marker ) then 
        if ( getTeamName( getPlayerTeam( player ) ) == Team ) then 
            if not Open then 
                moveObject ( Object, 1500, moveX, moveY, moveZ ) 
            else 
                moveObject ( Object, 1500, x, y, z ) 
            end 
            Open = not Open 
        else 
            outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) 
        end 
    end 
end 
  
addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
        for _, v in ipairs ( getElementsByType ( "player" ) ) do 
            bindKey ( v, "tab", "down", OpenObject ) 
        end 
    end 
) 
  
addEventHandler ( "onPlayerJoin", root, 
    function ( ) 
        bindKey ( source, "tab", "down", OpenObject ) 
    end 
) 

السيارات

https://community.multitheftauto.com/ind ... ls&id=7998

و تقول

واي كووود ثاني ساحة بيت يعني أي شيء حلووو ويفيد المقر

ذي تسويها ب الماب ادتور ولا تبي ارقامها قصدك ؟

Edited by Guest
Link to comment

انا اعرف كيف ابرمج مقر عندي مقر مبرمج لكن ابغى اشياء جديدة مثل ماركر يصلح السيارة للقروب

او كود ماركر تفتح نافذة اصوات

والاصوات ابيها تطلع مثلن في غرفة او بيت

ياليت فهمتنوني وابغاكم تطمأنوا والله ما احط اغاني

لان اكسب ذنب كل من يسمع

وابغى توضيح اكبر ماركر السيارات لو حطيت أي دي سيارتين تجي في نافذة ولالا

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...