Jump to content

طلب فنكش


Recommended Posts

ذا

createColTube(x,y,z) 
     function ColShapeHit ( thePlayer ) 
       local money = getPlayerMoney(thePlayer)     
             if (money > 1000) then 
         takePlayerMoney(theplayer,1000) 
       moveObject(theObject,x,y,z) 
       end 
    end 
end 
addEventHandler( "onClientElementColShapeHit", getRootElement( ), ColShapeHit ) 

Link to comment
ذا
createColTube(x,y,z) 
     function ColShapeHit ( thePlayer ) 
       local money = getPlayerMoney(thePlayer)     
             if (money > 1000) then 
         takePlayerMoney(theplayer,1000) 
       moveObject(theObject,x,y,z) 
       end 
    end 
end 
addEventHandler( "onClientElementColShapeHit", getRootElement( ), ColShapeHit ) 

لا

لان theObject مو معرفة

والامر راح يشتغل على جميع الكولشيب

واند زايدة

وارقمنات ناقصة createColTube

وماتحققت من نوع العنصر اللي بيدخل الكول شيب لو دخلت سيارة بتعطيها فلوس ؟ اكيد لا

Link to comment

لا

لان theObject مو معرفة

والامر راح يشتغل على جميع الكولشيب

واند زايدة

وارقمنات ناقصة createColTube

وماتحققت من نوع العنصر اللي بيدخل الكول شيب لو دخلت سيارة بتعطيها فلوس ؟ اكيد لا

+

takePlayerMoney

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

+

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

Link to comment
ذا
createColTube(x,y,z) 
     function ColShapeHit ( thePlayer ) 
       local money = getPlayerMoney(thePlayer)     
             if (money > 1000) then 
         takePlayerMoney(theplayer,1000) 
       moveObject(theObject,x,y,z) 
       end 
    end 
end 
addEventHandler( "onClientElementColShapeHit", getRootElement( ), ColShapeHit ) 

تطقطق علينا انت؟

createColTube 
'onColShapeHit' 
getPlayerMoney 
takePlayerMoney 
moveObject 

اعتقد طلبت فنتكشات و اعطيتك الفنكشات

فأيش علاقة الكود الي انت حاطه بالفنكشات الي عطيتك؟

تطقطق يعني؟ :redhotevil:

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...