Jump to content

كيف؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟


ABO.SR7777A

Recommended Posts

Posted

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

احم

انا سويت مركز شرطه مثلا

وابي اسوي نقطه يدخل للمكان الى ابيه ويخرج من المكان الى ابيه

ابي الكود لا هنتم

315552434.png

سبحان الله وبحمده سبحان الله العظيم

Posted

نصه صح

ماركر تقعد فوقه ويوديك مركز الشرطه وانا مابيه يوديه الشرطه مثلا اي محل اختاره

وكيف اعدل على مثلا مركز الشرطه من جوه كيف ادخله

واسوي اشياء فيه

315552434.png

سبحان الله وبحمده سبحان الله العظيم

Posted

انشاء الله صح

وفقلي الحطأ

سيرفر 
function interior ( source, commandName, interior ) 
if (source == marker1) then -- مادري حق وش يمكن كذا انا سويته 
    setElementInterior ( source, interior, 2233.91, 1714.73, 1011.38 ) ---- رقم الماركر الى هو الباب 
  else 
    setElementInterior ( source, 0 ) --- مادري 
  end --- اغلاق  
end 
addCommandHandler ( "interior", interior ) -- مدري 
كلينت 
function interior ( commandName, interior ) -- المصدر 
if (source == marker1) then -- يمكن صح اسم الدويره 
    setElementInterior ( getLocalPlayer(), interior, 2233.91, 1714.73, 1011.38 ) --- هنا الاحداثيات الدويره 
  else 
    setElementInterior ( getLocalPlayer(), 0 ) ---- الاعب يدخل 
  end --- اغلاق 
end 
addCommandHandler ( "interior", interior ) -- مدري 
هاذا الي اعرفه 

315552434.png

سبحان الله وبحمده سبحان الله العظيم

Posted

شوف الكود للحين ما جربته

خذ

كلنت

theMarker = createMarker ( 1555, -1675.5999755859, 16.89999961853, "arrow", 1, 0, 0, 255, 170 ) 
Marker2 = createMarker ( 246.89999389648, 62.200000762939, 1004.299987793, "arrow", 1, 0, 0, 255, 170 ) 
  
function marker1(hitElement) 
     if getElementType(hitElement) == "player" then 
    setElementInterior ( player, 6, 247, 63,1003.5999755859 ) 
     end 
end 
addEventHandler("onClientMarkerHit", theMarker, marker1) 
function marker2(hitElement) 
     if getElementType(hitElement) == "player" then 
    setElementInterior ( player, 0, 1553.4000244141, -1675.5999755859, 16.200000762939 ) 
     end 
end 
addEventHandler("onClientMarkerHit", Marker2, marker2) 

#~BlackBird~#

Posted
    theMarker = createMarker ( 1555, -1675.5999755859, 16.89999961853, "arrow", 1, 0, 0, 255, 170 )--صنع ماركر 
    Marker2 = createMarker ( 246.89999389648, 62.200000762939, 1004.299987793, "arrow", 1, 0, 0, 255, 170 )--صنع ماركر 
      
    function marker1(hitElement)--العملية 
         if getElementType(hitElement) == "player" then-- هذا يشوف وش لمس الماركر و يجب ان يكون لاعب 
        setElementInterior ( player, 6, 247, 63,1003.5999755859 )-- يغير احداثيات اللاعب الى مركز الشرطة 
         end-- if انهاء 
    end-- انهاء العملية 
    addEventHandler("onClientMarkerHit", theMarker, marker1)-- الايفينت اذا لمس الماركر- اسم الماركر- اسم العملية 
    function marker2(hitElement)--العملية 
         if getElementType(hitElement) == "player" then-- اذا الي لمس الماركر لاعب 
        setElementInterior ( player, 0, 1553.4000244141, -1675.5999755859, 16.200000762939 )-- يوديه قدام مركز الشرطة 
         end--if انهاء 
    end--انهاء العملية 
    addEventHandler("onClientMarkerHit", Marker2, marker2)-- الايفنت اذا لمس الماركر-اسم الماركر-اسم العملية 

#~BlackBird~#

Posted

تم التصحيح

    theMarker = createMarker ( 1555, -1675.5999755859, 16.89999961853, "arrow", 1, 0, 0, 255, 170 ) 
    Marker2 = createMarker ( 246.89999389648, 62.200000762939, 1004.299987793, "arrow", 1, 0, 0, 255, 170 ) 
      
    function marker1(hitElement) 
         if getElementType(hitElement) == "player" then 
        setElementInterior ( getLocalPlayer(), 6, 247, 63,1003.5999755859 ) 
         end 
    end 
    addEventHandler("onClientMarkerHit", theMarker, marker1) 
    function marker2(hitElement) 
         if getElementType(hitElement) == "player" then 
        setElementInterior ( getLocalPlayer(), 0, 1553.4000244141, -1675.5999755859, 16.200000762939 ) 
         end 
    end 
    addEventHandler("onClientMarkerHit", Marker2, marker2) 

بس الماركر الي يطلعك ما تقدر تشوفه بس لما تروح لما الباب راح يطلعك

#~BlackBird~#

Posted
    theMarker = createMarker ( 1555, -1675.5999755859, 16.89999961853, "arrow", 1, 0, 0, 255, 170 ) 
    Marker2 = createMarker ( 246.89999389648, 62.200000762939, 1004.299987793, "arrow", 1, 0, 0, 255, 170 ) 
    setElementInterior ( Marker2, 6) 
    function marker1(hitElement) 
         if getElementType(hitElement) == "player" then 
        setElementInterior ( getLocalPlayer(), 6, 247, 63,1003.5999755859 ) 
         end 
    end 
    addEventHandler("onClientMarkerHit", theMarker, marker1) 
    function marker2(hitElement) 
         if getElementType(hitElement) == "player" then 
        setElementInterior ( getLocalPlayer(), 0, 1553.4000244141, -1675.5999755859, 16.200000762939 ) 
         end 
    end 
    addEventHandler("onClientMarkerHit", Marker2, marker2) 

صححته

#~BlackBird~#

Posted

والله كفوؤ والله شنب والله فحل رجال والله ماتقصر

جزاك الله خير

بس حبيت اقلك واقول لتابل

في واحد اعرفه وريته الويكي وقلت له اقرى

قرالي كامل قلي ينفهم لكن كلجات على كيف كيفك

315552434.png

سبحان الله وبحمده سبحان الله العظيم

Posted

ههههههه

كفو و شنب

روح جرب خش ماركر تلقاه جاب معك السيرفر كله ههه

CiTLh.png

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...