Jump to content

طلب فنكشنآت ~


Recommended Posts

بسم الله الرحمن الرحيم

السلام عليكم

لآهنتم

انا آبي آسوي بيت ب رقم سري , يعني فيه ماركر يدخله تطلع له نآفذه ,

فيها إيديت إذآ حط الرمز صح ينقله لمكان

إيش آلفنكشنات إلي احتاجها

Link to comment

جنرآل مآعليك منه ذآ زلابه

-

يعطيك آلعافيه زآحف

-

لآهنتم إيش آلخطاء هننا؟

function ClHome () 
if ( source ==  okbu ) then 
if ( guiGetText ( PassEdit ) == "itzsmilyy" ) then 
  
        setElementInterior ( element, 5, 1302.2878417969, -789.06280517578, 1083.9079589844 ) 
        setElementDimension ( element, 12345  ) 
  
        end 
            end  
                end 
addEventHandler ("onClientGUIClick", getRootElement(), ClHome)             

ومآيطلع شي بآلديبق

Link to comment

addEventHandler ( "onClientGUIClick", resourceRoot, function (   ) 
  if ( source == okbu ) then 
   if ( guiGetText ( PassEdit ) == "itzsmilyy" ) then 
       setElementInterior ( localPlayer, 5, 1302.2878417969, -789.06280517578, 1083.9079589844 ) 
       setElementDimension ( localPlayer, 12345 ) 
    end 
  end 
end )   
Link to comment

يعطيك آلعآفيه , لكن إيش آلمشكله هنا

لما ادخل , مسوي مآركر يطلعني ,

لكن مو رآضي يطلعني :roll:

Rooms2 = createMarker ( 1299.0317382813 , -796.89575195313 , 1083.6079101563 , "cylinder", 1.5, 0, 204, 255 ) 
setElementInterior ( Rooms2, 5 ) 
setElementDimension ( Rooms2, 12345 )       
            
addEventHandler( "onMarkerHit", Rooms2, function (   ) 
        setElementInterior ( element, 0, 1330.3448486328, -1066.1788330078, 29.288482666016 ) 
        setElementDimension ( element, 0 ) 
    end 
        ) 

Link to comment

Rooms2 = createMarker ( 1299.0317382813 , -796.89575195313 , 1083.6079101563 , "cylinder", 1.5, 0, 204, 255 ) 
setElementInterior ( Rooms2, 5 ) 
setElementDimension ( Rooms2, 12345 )       
            
addEventHandler( "onMarkerHit", Rooms2, function ( element ) 
  if ( getElementType ( element ) == "player" ) then 
     setElementInterior ( element, 0, 1330.3448486328, -1066.1788330078, 29.288482666016 ) 
     setElementDimension ( element, 0 ) 
  end        
end ) 
Link to comment
Rooms2 = createMarker ( 1299.0317382813 , -796.89575195313 , 1083.6079101563 , "cylinder", 1.5, 0, 204, 255 ) 
setElementInterior ( Rooms2, 5 ) 
setElementDimension ( Rooms2, 12345 )       
            
addEventHandler( "onMarkerHit", Rooms2, function ( element ) 
  if ( getElementType ( element ) == "player" ) then 
     setElementInterior ( element, 0, 1330.3448486328, -1066.1788330078, 29.288482666016 ) 
     setElementDimension ( element, 0 ) 
  end        
end ) 

نفس آلمشكله

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