iMr ~ MnHmAr Posted February 2, 2016 Share Posted February 2, 2016 local component = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } function OpenWin() for _, component in ipairs( component ) do setPlayerHudComponentVisible( component, false ) else setPlayerHudComponentVisible( component, true ) end end ) bindKey("M","down", OpenWin) وش الخطاء الدي بوق يقول الخطا ب السطر 7 Link to comment
Ja[B]er[X]Pro Posted February 2, 2016 Share Posted February 2, 2016 local component = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } function OpenWin() for _, component in ipairs( component ) do setPlayerHudComponentVisible( component, false ) else setPlayerHudComponentVisible( component, true ) end end ) bindKey("M","down", OpenWin) وش الخطاء الدي بوق يقول الخطا ب السطر 7 ما ينفع تحط else بدون وجود if Link to comment
YourMind Posted February 2, 2016 Share Posted February 2, 2016 local component = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } function OpenWin() for _, component in ipairs( component ) do setPlayerHudComponentVisible( component, false ) else setPlayerHudComponentVisible( component, true ) end end ) bindKey("M","down", OpenWin) وش الخطاء الدي بوق يقول الخطا ب السطر 7 ايه هي فكرة الكود ؟ في قوس مالوش لازمة اصلاً في الآخر Link to comment
Ja[B]er[X]Pro Posted February 2, 2016 Share Posted February 2, 2016 local component = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } function OpenWin() for _, component in ipairs( component ) do setPlayerHudComponentVisible( component, false ) else setPlayerHudComponentVisible( component, true ) end end ) bindKey("M","down", OpenWin) وش الخطاء الدي بوق يقول الخطا ب السطر 7 ايه هي فكرة الكود ؟ هو يبي يسوي حسب الذي فهمته عند الضغط على حرف m يخفي الهيد وان ضغط مرة اخرى يظهره Link to comment
HassoN Posted February 2, 2016 Share Posted February 2, 2016 تفضل local component = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } function OpenWin() for _, component in ipairs( component ) do if isPlayerHudComponentVisible( component ) then setPlayerHudComponentVisible( component, false ) else setPlayerHudComponentVisible( component, true ) end end end bindKey("M","down", OpenWin) Link to comment
iMr ~ MnHmAr Posted February 2, 2016 Author Share Posted February 2, 2016 تفضل local component = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } function OpenWin() for _, component in ipairs( component ) do if isPlayerHudComponentVisible( component ) then setPlayerHudComponentVisible( component, false ) else setPlayerHudComponentVisible( component, true ) end end end bindKey("M","down", OpenWin) تتسلمون كلكم + م انبهت ل if ض1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now