Jump to content

دخول المبأني


Recommended Posts

جـرب *

marker = createMarker( 121.22229766846, 1858.3297119141, 16.751111984253, "cylinder", 2, 255, 255, 0, 160 ) 
marker2 = createMarker( 121.22229766846, 1858.3297119141, 16.751111984253, "cylinder", 2, 255, 255, 0, 160 ) 
  
addEventHandler ( "onMarkerHit", marker,function () 
      if getElementType ( source ) == "player" then 
        setElementInterior( source, 9 ) 
          end 
  end 
) 
  
addEventHandler ( "onMarkerHit", marker2,function () 
      if getElementType ( source ) == "player" then 
        setElementInterior( source, 0 ) 
          end 
  end 
) 
Link to comment
جـرب *

marker = createMarker( 121.22229766846, 1858.3297119141, 16.751111984253, "cylinder", 2, 255, 255, 0, 160 ) 
marker2 = createMarker( 121.22229766846, 1858.3297119141, 16.751111984253, "cylinder", 2, 255, 255, 0, 160 ) 
  
addEventHandler ( "onMarkerHit", marker,function () 
      if getElementType ( source ) == "player" then 
        setElementInterior( source, 9 ) 
          end 
  end 
) 
  
addEventHandler ( "onMarkerHit", marker2,function () 
      if getElementType ( source ) == "player" then 
        setElementInterior( source, 0 ) 
          end 
  end 
) 
    local marker = createMarker( 106.92246246338, 1835.6004638672, 16.640625, "cylinder", 2, 255, 255, 0) 
    local markerr = createMarker ( 362.83898925781,-75.111831665039,1001.5078125, "cylinder", 2, 255, 255, 0) 
    setElementInterior ( markerr, 10 ) 
    setElementDimension ( markerr, 33 ) 
                     
    addEventHandler ( "onMarkerHit", root, 
    function ( restaurant ) 
        if ( getElementType ( restaurant ) == "player" and not isPedInVehicle ( restaurant ) ) then 
            if ( source == marker ) then    
               setElementDimension ( restaurant, 33 ) 
               setElementInterior ( restaurant, 10,366.4220,-73.4700,1001.5080 ) 
               elseif ( source == markerr ) then 
               setElementInterior ( restaurant, 0 ) 
               setElementDimension ( restaurant, 0 ) 
               setElementPosition ( restaurant, 103.90288543701,1831.6501464844,17.640625 ) 
            end 
        end 
    end ) 

^ظبط

ممكن تسون تايمر لثانيتين كل مايطلع ويخش فيد كاميرا

حاولت فيه وماظبط معي

Link to comment

جرب هيككءَ

local marker = createMarker( 106.92246246338, 1835.6004638672, 16.640625, "cylinder", 2, 255, 255, 0) 
local markerr = createMarker ( 362.83898925781,-75.111831665039,1001.5078125, "cylinder", 2, 255, 255, 0) 
  setElementInterior ( markerr, 10 ) 
  setElementDimension ( markerr, 33 ) 
  
addEventHandler ( "onMarkerHit", root, 
 function ( restaurant ) 
   if ( getElementType ( restaurant ) == "player" and not isPedInVehicle ( restaurant ) ) then 
   if ( source == marker ) then   
      fadeCamera(false) 
      setTimer(function() 
      fadeCamera(true) 
        setElementDimension ( restaurant, 33 ) 
        setElementInterior ( restaurant, 10,366.4220,-73.4700,1001.5080 ) 
      end,2000,1,player) 
         elseif ( source == markerr ) then 
        setElementInterior ( restaurant, 0 ) 
        setElementDimension ( restaurant, 0 ) 
        setElementPosition ( restaurant, 103.90288543701,1831.6501464844,17.640625 ) 
    end 
  end 
end ) 

تماام ظبط

مشكور للجميع *

Link to comment
جـرب *

marker = createMarker( 121.22229766846, 1858.3297119141, 16.751111984253, "cylinder", 2, 255, 255, 0, 160 ) 
marker2 = createMarker( 121.22229766846, 1858.3297119141, 16.751111984253, "cylinder", 2, 255, 255, 0, 160 ) 
  
addEventHandler ( "onMarkerHit", marker,function () 
      if getElementType ( source ) == "player" then 
        setElementInterior( source, 9 ) 
          end 
  end 
) 
  
addEventHandler ( "onMarkerHit", marker2,function () 
      if getElementType ( source ) == "player" then 
        setElementInterior( source, 0 ) 
          end 
  end 
) 
    local marker = createMarker( 106.92246246338, 1835.6004638672, 16.640625, "cylinder", 2, 255, 255, 0) 
    local markerr = createMarker ( 362.83898925781,-75.111831665039,1001.5078125, "cylinder", 2, 255, 255, 0) 
    setElementInterior ( markerr, 10 ) 
    setElementDimension ( markerr, 33 ) 
                     
    addEventHandler ( "onMarkerHit", root, 
    function ( restaurant ) 
        if ( getElementType ( restaurant ) == "player" and not isPedInVehicle ( restaurant ) ) then 
            if ( source == marker ) then    
               setElementDimension ( restaurant, 33 ) 
               setElementInterior ( restaurant, 10,366.4220,-73.4700,1001.5080 ) 
               elseif ( source == markerr ) then 
               setElementInterior ( restaurant, 0 ) 
               setElementDimension ( restaurant, 0 ) 
               setElementPosition ( restaurant, 103.90288543701,1831.6501464844,17.640625 ) 
            end 
        end 
    end ) 

^ظبط

ممكن تسون تايمر لثانيتين كل مايطلع ويخش فيد كاميرا

حاولت فيه وماظبط معي

مانتبهتت

Link to comment

اخوي، ما يحتاج تبرمج اكواد ولا حاجة، كل الي عليك انك تشغل مود

interior

وتضيف السطرين ذول في ملف الماب حقك، وتعدل الاحداثيات

"m63m1"  posX="-225.433" posY="1397.02"  posZ="69.0501"  rotation="0"    dimension="0"   interior="0"    /> --- احداثيات الماركر الخارجي 
"m63m1"   posX="-224.733" posY="1395.82"  posZ="172.05"   rotation="0"    interior="0"    dimension="0"   /> --- احداثيات الماركر الداخلي 

Link to comment

اخوي، ما يحتاج تبرمج اكواد ولا حاجة، كل الي عليك انك تشغل مود

interior

وتضيف السطرين ذول في ملف الماب حقك، وتعدل الاحداثيات

"m63m1"  posX="-225.433" posY="1397.02"  posZ="69.0501"  rotation="0"    dimension="0"   interior="0"    /> --- احداثيات الماركر الخارجي 
"m63m1"   posX="-224.733" posY="1395.82"  posZ="172.05"   rotation="0"    interior="0"    dimension="0"   /> --- احداثيات الماركر الداخلي 

هو مسوي كـ مبنى خارجي وعنده ماركر اذ دخل الماركر

يحوله الى المحل الاصلي .. والمحلات الاصليه كلها في عوالم وهميه

GuiEditor وتقدر تشوفها من الادمنيه او

Link to comment

اخوي، ما يحتاج تبرمج اكواد ولا حاجة، كل الي عليك انك تشغل مود

interior

وتضيف السطرين ذول في ملف الماب حقك، وتعدل الاحداثيات

"m63m1"  posX="-225.433" posY="1397.02"  posZ="69.0501"  rotation="0"    dimension="0"   interior="0"    /> --- احداثيات الماركر الخارجي 
"m63m1"   posX="-224.733" posY="1395.82"  posZ="172.05"   rotation="0"    interior="0"    dimension="0"   /> --- احداثيات الماركر الداخلي 

هو مسوي كـ مبنى خارجي وعنده ماركر اذ دخل الماركر

يحوله الى المحل الاصلي .. والمحلات الاصليه كلها في عوالم وهميه

GuiEditor وتقدر تشوفها من الادمنيه او

مو مشكلة، الحركة تضبط حق الي يبيه، حتى لو خلاه ينقله من مدينة الى مدينة بدون انتريور ما عندك مشكلة

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