Jump to content

مشكلة سكربت - ::.


Recommended Posts

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

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

أمــآ بعــَد

عندي مشكلة في سكريت بسيط مررة

الي هو4 اماكن لبيد (شخصية ) والبيد لها انيميشن معين

لكن الانيميشن مــَأ يشتغل

الكود : : .

  
 ped1  =  createPed ( 56,-6796.16309,463.41379,4.71688, 90 ) 
  ped2  =  createPed ( 46,-6818.41455,466.58963,4.76719 , 270 ) 
   ped3  =  createPed ( 46,-6817.87695,458.13892,4.76719 , 270 ) 
    ped4  =  createPed ( 56,-6817.76416,462.08676,4.62656 , 270 ) 
------------------------------------------------------------- 
  
  
                setPedAnimation ( ped1, "DANCING", "dnce_m_b") 
setElementFrozen ( ped1, true ) 
  
--- 
  
       setPedAnimation ( ped2, "DANCING", "dnce_m_b") 
setElementFrozen ( ped2, true ) 
  
-- 
  
      setPedAnimation ( ped3, "DANCING", "dnce_m_b") 
setElementFrozen ( ped3, true ) 
-- 
  
       setPedAnimation ( ped4, "DANCING", "dnce_m_b") 
setElementFrozen ( ped4, true ) 
--  

أمــآ الاستفسار الثاني ]..ِ[

عندي سكربت شغال لما ادخل Host Game

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

اشغل المود يطلع لي كذا في اف 8

start: Resource 'highjump' start was requested ()

Link to comment

وين الايقنت حق عمل الحركة !

addEventHandler("onResourceStart", resourceRoot, 
function() 
                setPedAnimation ( ped1, "DANCING", "dnce_m_b") 
setElementFrozen ( ped1, true ) 
       setPedAnimation ( ped2, "DANCING", "dnce_m_b") 
setElementFrozen ( ped2, true ) 
      setPedAnimation ( ped3, "DANCING", "dnce_m_b") 
setElementFrozen ( ped3, true ) 
       setPedAnimation ( ped4, "DANCING", "dnce_m_b") 
setElementFrozen ( ped4, true ) 
end) 

Link to comment
وين الايقنت حق عمل الحركة !
addEventHandler("onResourceStart", resourceRoot, 
function() 
                setPedAnimation ( ped1, "DANCING", "dnce_m_b") 
setElementFrozen ( ped1, true ) 
       setPedAnimation ( ped2, "DANCING", "dnce_m_b") 
setElementFrozen ( ped2, true ) 
      setPedAnimation ( ped3, "DANCING", "dnce_m_b") 
setElementFrozen ( ped3, true ) 
       setPedAnimation ( ped4, "DANCING", "dnce_m_b") 
setElementFrozen ( ped4, true ) 
end) 

كودك خآطئ أسآسآ ..

وش تعريف الشخصيات

Ped 1

Ped2 >> <<

--

Link to comment

ذول يا نوب

 ped1  =  createPed ( 56,-6796.16309,463.41379,4.71688, 90 ) 
  ped2  =  createPed ( 46,-6818.41455,466.58963,4.76719 , 270 ) 
   ped3  =  createPed ( 46,-6817.87695,458.13892,4.76719 , 270 ) 
    ped4  =  createPed ( 56,-6817.76416,462.08676,4.62656 , 270 ) 
  

تبي انسخ لك بعد البيدات

تبيه

rar/zip

خخخخخخخ

Link to comment

جرب

ped1 = createPed(56, -6796.16309, 463.41379, 4.71688, 90) 
ped2 = createPed(46, -6818.41455, 466.58963, 4.76719, 270) 
ped3 = createPed(46, -6817.87695, 458.13892, 4.76719, 270) 
ped4 = createPed(56, -6817.76416, 462.08676, 4.62656, 270) 
  
setTimer(function() 
    setPedAnimation(ped1, "DANCING", "dnce_m_b") 
    setElementFrozen(ped1, true) 
      
    setPedAnimation(ped2, "DANCING", "dnce_m_b") 
    setElementFrozen(ped2, true) 
      
    setPedAnimation(ped3, "DANCING", "dnce_m_b") 
    setElementFrozen(ped3, true) 
  
    setPedAnimation(ped4, "DANCING", "dnce_m_b") 
    setElementFrozen(ped4, true) 
end, 100, 1) 

Link to comment
جرب
ped1 = createPed(56, -6796.16309, 463.41379, 4.71688, 90) 
ped2 = createPed(46, -6818.41455, 466.58963, 4.76719, 270) 
ped3 = createPed(46, -6817.87695, 458.13892, 4.76719, 270) 
ped4 = createPed(56, -6817.76416, 462.08676, 4.62656, 270) 
  
setTimer(function() 
    setPedAnimation(ped1, "DANCING", "dnce_m_b") 
    setElementFrozen(ped1, true) 
      
    setPedAnimation(ped2, "DANCING", "dnce_m_b") 
    setElementFrozen(ped2, true) 
      
    setPedAnimation(ped3, "DANCING", "dnce_m_b") 
    setElementFrozen(ped3, true) 
  
    setPedAnimation(ped4, "DANCING", "dnce_m_b") 
    setElementFrozen(ped4, true) 
end, 100, 1) 

كودك شغال ’ أسف علي تدخلي كيف أعرف أسم حركة ^^ 8):roll:

Link to comment
جرب
ped1 = createPed(56, -6796.16309, 463.41379, 4.71688, 90) 
ped2 = createPed(46, -6818.41455, 466.58963, 4.76719, 270) 
ped3 = createPed(46, -6817.87695, 458.13892, 4.76719, 270) 
ped4 = createPed(56, -6817.76416, 462.08676, 4.62656, 270) 
  
setTimer(function() 
    setPedAnimation(ped1, "DANCING", "dnce_m_b") 
    setElementFrozen(ped1, true) 
      
    setPedAnimation(ped2, "DANCING", "dnce_m_b") 
    setElementFrozen(ped2, true) 
      
    setPedAnimation(ped3, "DANCING", "dnce_m_b") 
    setElementFrozen(ped3, true) 
  
    setPedAnimation(ped4, "DANCING", "dnce_m_b") 
    setElementFrozen(ped4, true) 
end, 100, 1) 

قبل مـَ اجربه أنا متأكد 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...