Jump to content

صفحة طلبآآتي


BeCooL

Recommended Posts

  • Replies 477
  • Created
  • Last Reply

Top Posters In This Topic

انت الي معرفت مهب حنا

وانت المشكلة تقول متأكد من الاسماء

#سؤال

انت تبي تزود مشاركاتك ولا تبي تحل مشكلتك

ما يبغى لها فهم الشباب عطوني اكواد اجربها ولاضبطت :|

---------------------

طيب ذا وش فيه ما يشغل صوت ولا يطلع في الشات ؟

كلنت

col = createColCuboid ( 2237.5280761719, 2773.3708496094, 100, 100, 100, 100 ) 
hillRadar = createRadarArea ( 2237.5280761719, 2773.3708496094, 100, 100, 0, 255, 0, 175 ) 
  
  
     function hill_Enter ( hitPlayer, matchingDimension ) 
        if thePlayer == localPlayer then 
            playSound ( "mohamad.mp3" ) 
            outputChatBox ( "you are left bank zone!!" ) 
        end 
    end 
addEventHandler ( "onColShapeLeave", col, hill_Enter ) 

Edited by Guest
Link to comment

-- Client Side --

col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 
hillRadar = createRadarArea(2237.52, 2773.4, 100, 100, 0, 255, 0, 175) 
  
  
function hill_Enter(hitPlayer) 
     if hitPlayer == localPlayer then 
          playSound("mohamad.mp3") 
          outputChatBox("you are left bank zone!!") 
     end 
end 
addEventHandler("onClientColShapeLeave", col, hill_Enter) 

Link to comment
-- Client Side --
col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 
hillRadar = createRadarArea(2237.52, 2773.4, 100, 100, 0, 255, 0, 175) 
  
  
function hill_Enter(hitPlayer) 
     if hitPlayer == localPlayer then 
          playSound("mohamad.mp3") 
          outputChatBox("you are left bank zone!!") 
     end 
end 
addEventHandler("onClientColShapeLeave", col, hill_Enter) 

ما اشتغل الصوت ولا طلع في الشات :|

Link to comment
-- Client Side --
col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 
hillRadar = createRadarArea(2237.52, 2773.4, 100, 100, 0, 255, 0, 175) 
  
  
function hill_Enter(hitPlayer) 
     if hitPlayer == localPlayer then 
          playSound("mohamad.mp3") 
          outputChatBox("you are left bank zone!!") 
     end 
end 
addEventHandler("onClientColShapeLeave", col, hill_Enter) 

ما اشتغل الصوت ولا طلع في الشات :|

    col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 
    hillRadar = createRadarArea(2237.52, 2773.4, 100, 100, 0, 255, 0, 175) 
      
      
    function hill_Enter(hitPlayer) 
         if hitPlayer == getlocalPlayer() then 
              playSound("mohamad.mp3") 
              outputChatBox("you are left bank zone!!") 
         end 
    end 
    addEventHandler("onClientColShapeLeave", col, hill_Enter) 

جرب ذا

Link to comment
-- Client Side --
col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 
hillRadar = createRadarArea(2237.52, 2773.4, 100, 100, 0, 255, 0, 175) 
  
  
function hill_Enter(hitPlayer) 
     if hitPlayer == localPlayer then 
          playSound("mohamad.mp3") 
          outputChatBox("you are left bank zone!!") 
     end 
end 
addEventHandler("onClientColShapeLeave", col, hill_Enter) 

ما اشتغل الصوت ولا طلع في الشات

    col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 
    hillRadar = createRadarArea(2237.52, 2773.4, 100, 100, 0, 255, 0, 175) 
      
      
    function hill_Enter(hitPlayer) 
         if hitPlayer == getlocalPlayer() then 
              playSound("mohamad.mp3") 
              outputChatBox("you are left bank zone!!") 
         end 
    end 
    addEventHandler("onClientColShapeLeave", col, hill_Enter) 

جرب ذا

نفس المشكله

Link to comment

حط كود السيرفر

سيرفر

    Marker1 = createMarker(1467.2055664063, -1012.4879150391, 28.84375, 'arrow', 2.5, 0, 255, 0, 150) 
    Marker2 = createMarker(1455.2641601563, -1012.4568481445, 28.84375, "arrow", 2.5, 0, 255, 0, 255) 
    Marker3 = createMarker(1461.8619384766, -1005.5728759766, 59.513202667236, "arrow", 2.5, 0, 255, 0, 255) 
      
    createBlipAttachedTo(Marker1, 52) 
     
    function MarkerHit( hitPlayer, matchingDimension ) 
    if source == Marker1 or source == Marker2 or source == Marker3 then 
    bed = createObject ( 5422, 2236.5085449219, 2772.2302246094, 10.713479995728, 90, 0, 0 ) 
    if(getTeamName(getPlayerTeam(hitPlayer))=="Police")then 
    setElementPosition ( hitPlayer, 2300.1691894531, 2796.904296875, 10.8203125 )    
     elseif(getTeamName(getPlayerTeam(hitPlayer))=="Criminal")then 
    setElementPosition ( hitPlayer, 2300.1691894531, 2796.904296875, 10.8203125 ) 
        end 
    end 
end 
    addEventHandler( "onMarkerHit", root, MarkerHit ) 
      
    setTimer ( function() 
    setPlayerWantedLevel ( hitPlayer, 6) 
    setMarkerColor ( root, 255, 0, 0, 255 ) 
    removeEventHandler( "onMarkerHit", root, MarkerHit ) 
        outputChatBox ( "the bank is start!" ) 
        moveObject ( bed, 3000, 2236.5085449219, 2772.2302246094, 19.8203125 ) 
    end, 20000, 1 ) 
     
    hillRadar = createRadarArea ( 2237.5280761719, 2773.3708496094, 100, 100, 100, 100 ) 
    hillArea = createColRectangle ( 2237.5280761719, 2773.3708496094, 100, 100, 100, 100 ) 
     
    function hill_left ( hitPlayer, matchingDimension ) 
    givePlayerMoney ( hitPlayer, 100 ) 
    outputChatBox ( "you are left bank zone!!" ) 
    end  
    addEventHandler ( "onColShapeLeave", hillArea, hill_left ) 
     
    function hill_Enter ( hitPlayer, matchingDimension ) 
    outputChatBox ( "you are enter bank zone!!" ) 
    end  
    addEventHandler ( "onColShapeHit", hillArea, hill_Enter ) 
     

Link to comment
عندك خطأ في أحداثيات الكول شيب
col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 

غيره إلى

col = createColCuboid(2237.52, 2773.4, 10, 100, 100, 100) 

جربته ولانفع :(

جربته عندي شغال

Link to comment

طيب الميتا طرحته والسيرفر طرحته والكلنت طرحته وكل شي تمام

ليه مايشتغل وش الخطأ ؟

---------------

عندك خطأ في أحداثيات الكول شيب
col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 

غيره إلى

col = createColCuboid(2237.52, 2773.4, 10, 100, 100, 100) 

جربته ولانفع :(

جربته عندي شغال

اشتغل الصوت ؟ :shock:

Edited by Guest
Link to comment
عندك خطأ في أحداثيات الكول شيب
col = createColCuboid(2237.52, 2773.4, 100, 100, 100, 100) 

غيره إلى

col = createColCuboid(2237.52, 2773.4, 10, 100, 100, 100) 

جربته ولانفع :(

جربته عندي شغال

عندي سؤالين :

الأول : اني مسوي كول شيب في السيرفر والكلنت هذا ما يخرب شي ؟

والثاني : كيف اتشتغل عندك المود وانا ما اشتغل وش المشكله؟

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