KillerX Posted October 6, 2018 Share Posted October 6, 2018 السلام عليكم ورحمه الله وبركاتة اليوم صادفتني مشكلة غريبة وهي لما استخدم الكود getWeaponProperty 16 : الايدي حقوا | grenade : مع سلاح القنبلة اللي هو اسموا علطول النتيجة تطلع فولس addCommandHandler( '1' , function( ped ) outputChatBox( getWeaponProperty( 16 , 'poor' , 'skill_level' ) ) end ) ياريت اي حد لو عندوا معلومة او كيفية تصليح الكود يفيدني ومتشكر جدا | مع السلامة =) Link to comment
Master_MTA Posted October 6, 2018 Share Posted October 6, 2018 On 06/10/2018 at 15:23, KillerX said: سلاح Expand جرب تبدل الايدي بسترنج باسم السلاح sniper Link to comment
KillerX Posted October 6, 2018 Author Share Posted October 6, 2018 On 06/10/2018 at 17:57, Master_MTA said: جرب تبدل الايدي بسترنج باسم السلاح sniper Expand grenade : جربت واستخدمت الاسم بس ما ظبط :\ Link to comment
^iiEcoo'x_) Posted October 6, 2018 Share Posted October 6, 2018 setElementProperty - bool: Returns false if the weapon property was unable to be set Link to comment
KillerX Posted October 6, 2018 Author Share Posted October 6, 2018 On 06/10/2018 at 21:23, #_iMr,[E]coo said: setElementProperty Expand وش ؟؟؟؟ Link to comment
Master_MTA Posted October 6, 2018 Share Posted October 6, 2018 On 06/10/2018 at 21:43, KillerX said: وش ؟؟؟؟ Expand grenade مالها سكل لفل تقريبا Link to comment
Ram, Posted October 7, 2018 Share Posted October 7, 2018 القنبلة مالها سكل لفل زي ماقال ماستر وتقدر تتأكد من هذا الرابط https://wiki.multitheftauto.com/wiki/Weapon_skill_levels Link to comment
KillerX Posted October 7, 2018 Author Share Posted October 7, 2018 (edited) On 07/10/2018 at 17:01, #Ram said: القنبلة مالها سكل لفل زي ماقال ماستر وتقدر تتأكد من هذا الرابط https://wiki.multitheftauto.com/wiki/Weapon_skill_levels Expand مب السكل لفل فقط في اشياء كثير اخري مثل weapon_slot Edited October 7, 2018 by KillerX Link to comment
^iiEcoo'x_) Posted October 7, 2018 Share Posted October 7, 2018 On 07/10/2018 at 17:01, #Ram said: القنبلة مالها سكل لفل زي ماقال ماستر وتقدر تتأكد من هذا الرابط https://wiki.multitheftauto.com/wiki/Weapon_skill_levels Expand وانا وش قلت له ؟ Link to comment
Ram, Posted October 7, 2018 Share Posted October 7, 2018 (edited) On 07/10/2018 at 18:57, #_iMr,[E]coo said: وانا وش قلت له ؟ Expand مافي فنكشن بإسم :- setElementProperty On 07/10/2018 at 18:50, KillerX said: مب السكل لفل فقط في اشياء كثير اخري مثل weapon_slot Expand إطرح أكوادك حقت الـ weapon_slot +https://wiki.multitheftauto.com/wiki/Weapons رابط لـ السلوتس Edited October 7, 2018 by #Ram Link to comment
^iiEcoo'x_) Posted October 7, 2018 Share Posted October 7, 2018 قصدي setWeaponProperty Link to comment
KillerX Posted October 7, 2018 Author Share Posted October 7, 2018 On 07/10/2018 at 19:54, #Ram said: إطرح أكوادك حقت الـ Expand addCommandHandler( '1', function( player ) outputChatBox( 'Slot : ' .. tostring( getWeaponProperty( 16 , 'pro' , 'weapon_slot' ) ) ) outputChatBox( 'Slot : ' .. tostring( getWeaponProperty( 16 , 'std' , 'weapon_slot' ) ) ) outputChatBox( 'Slot : ' .. tostring( getWeaponProperty( 16 , 'poor' , 'weapon_slot' ) ) ) end ) or addCommandHandler( '1', function( player ) outputChatBox( 'model : ' .. tostring( getWeaponProperty( 16 , 'poor' , 'model' ) ) ) outputChatBox( 'model : ' .. tostring( getWeaponProperty( 16 , 'std' , 'model' ) ) ) outputChatBox( 'model : ' .. tostring( getWeaponProperty( 16 , 'pro' , 'model' ) ) ) end ) Link to comment
Ram, Posted October 7, 2018 Share Posted October 7, 2018 On 07/10/2018 at 20:07, KillerX said: addCommandHandler( '1', function( player ) outputChatBox( 'Slot : ' .. tostring( getWeaponProperty( 16 , 'pro' , 'weapon_slot' ) ) ) outputChatBox( 'Slot : ' .. tostring( getWeaponProperty( 16 , 'std' , 'weapon_slot' ) ) ) outputChatBox( 'Slot : ' .. tostring( getWeaponProperty( 16 , 'poor' , 'weapon_slot' ) ) ) end ) or addCommandHandler( '1', function( player ) outputChatBox( 'model : ' .. tostring( getWeaponProperty( 16 , 'poor' , 'model' ) ) ) outputChatBox( 'model : ' .. tostring( getWeaponProperty( 16 , 'std' , 'model' ) ) ) outputChatBox( 'model : ' .. tostring( getWeaponProperty( 16 , 'pro' , 'model' ) ) ) end ) Expand تأكد إن اللاعب معه السلاح .. + انت هنا تحاول تجيب مودل السلاح والسلوت حقته يعني ؟؟؟ ولو تقدر تطرح ايش تبي تسوي وايش مقصدك يمكن نقدر نسويها لك بطريقة ثانية , هذا الفنكشن :https://wiki.multitheftauto.com/wiki/GetPedWeaponSlot يجلب لك السلوت حقت السلاح الي انت ماسكه دحين .. Link to comment
KillerX Posted October 7, 2018 Author Share Posted October 7, 2018 On 07/10/2018 at 20:34, #Ram said: تأكد إن اللاعب معه السلاح .. + انت هنا تحاول تجيب مودل السلاح والسلوت حقته يعني ؟؟؟ ولو تقدر تطرح ايش تبي تسوي وايش مقصدك يمكن نقدر نسويها لك بطريقة ثانية , هذا الفنكشن :https://wiki.multitheftauto.com/wiki/GetPedWeaponSlot يجلب لك السلوت حقت السلاح الي انت ماسكه دحين .. Expand قصدي هنا مو السلوت قصدي ان الفنكشن مع القنبلة في الاغلب يرجع فولس Link to comment
Ram, Posted October 7, 2018 Share Posted October 7, 2018 On 07/10/2018 at 20:39, KillerX said: قصدي هنا مو السلوت قصدي ان الفنكشن مع القنبلة في الاغلب يرجع فولس Expand القنبلة في بروبارتيز ماتحصلها فيها .. مو كل الاسلحة فيها , إبحث بالويكي تعرف إيش الي فيه وإيش إلي مافيه .. أم تي إي مافي شيء مستحيل بالبرمجة فيها , كل شيء تبيه تقدر تسويه لكن القنبلة مو مبرمجه ببروبارتيز معينة , تكون عادةً مالها لزوم .. Link to comment
KillerX Posted October 7, 2018 Author Share Posted October 7, 2018 On 07/10/2018 at 20:40, #Ram said: القنبلة في بروبارتيز ماتحصلها فيها .. مو كل الاسلحة فيها , إبحث بالويكي تعرف إيش الي فيه وإيش إلي مافيه .. Expand لا الويكي مب قايل الكل يطلع فولس Property = { 'fire_type' , 'model' , 'model2' , 'weapon_slot' , 'anim_group' , 'skill_level' , 'required_skill_level' , 'firing_speed' , 'radius' , 'life_span' , 'spread' , 'fire_offset' , 'aim_offset' , 'default_combo' , 'combos_available' } for _ , P in ipairs( Property ) do outputChatBox( tostring( getWeaponProperty( 16 , 'pro' , P ) ) ) end Link to comment
Ram, Posted October 8, 2018 Share Posted October 8, 2018 On 07/10/2018 at 20:46, KillerX said: لا الويكي مب قايل الكل يطلع فولس Property = { 'fire_type' , 'model' , 'model2' , 'weapon_slot' , 'anim_group' , 'skill_level' , 'required_skill_level' , 'firing_speed' , 'radius' , 'life_span' , 'spread' , 'fire_offset' , 'aim_offset' , 'default_combo' , 'combos_available' } for _ , P in ipairs( Property ) do outputChatBox( tostring( getWeaponProperty( 16 , 'pro' , P ) ) ) end Expand انا قلت لك الكل يطلع فولس ؟؟؟؟؟؟؟؟؟؟؟ On 07/10/2018 at 20:40, #Ram said: مو كل الاسلحة Expand Link to comment
KillerX Posted October 8, 2018 Author Share Posted October 8, 2018 (edited) On 08/10/2018 at 15:18, #Ram said: انا قلت لك الكل يطلع فولس ؟؟؟؟؟؟؟؟؟؟؟ Expand طيب الحين وش الحل ؟؟؟؟؟؟؟؟؟؟؟ :\ كل النتايج فوق تطلع فولس Edited October 8, 2018 by KillerX Link to comment
[T]|O|[P]George Posted October 8, 2018 Share Posted October 8, 2018 Returns On success: int: The weapon property On failure: bool: False if the passed arguments were invalid في اسلحة ما لها خصائص تعدل عليها من ضمنها القنابل و السكين و المضرب و شوف لو نفع معك M4 جرب تعدل علي سلاح Link to comment
KillerX Posted October 8, 2018 Author Share Posted October 8, 2018 On 08/10/2018 at 20:08, [T]|O|[P]George said: Returns On success: int: The weapon property On failure: bool: False if the passed arguments were invalid في اسلحة ما لها خصائص تعدل عليها من ضمنها القنابل و السكين و المضرب و شوف لو نفع معك M4 جرب تعدل علي سلاح Expand يب داري ان الام فور وغيروا بيطلع بس الويكي مب قايل ان القنبلة مالها بروبرتي Link to comment
[T]|O|[P]George Posted October 8, 2018 Share Posted October 8, 2018 جربتهم قبل - و تقريبا اي سلاح ما تقدر تصوب بيه ماله خصائص لان القنبلة و السكين و المضرب الخ... ما تقدر تصوب بيهم Link to comment
KillerX Posted October 8, 2018 Author Share Posted October 8, 2018 اظن انوا بق لان مثلا شئ مثل الدميدج المفروض للسلاح عادي حتي لو بدون تصويب هو بيطلعوا فولس :\ Link to comment
[T]|O|[P]George Posted October 8, 2018 Share Posted October 8, 2018 لانك ما تقدر تعدل لو تبيه يضرب عن بعد او تبي كام دمجه انما تقدر تسوي تحقق لو السلاح كان بالاي دي 16 فيقلل مثلا 30 من اللاعب الي تدمج ذا لو تبي تزيد الدمج لسلاح Link to comment
KillerX Posted October 8, 2018 Author Share Posted October 8, 2018 On 08/10/2018 at 21:49, [T]|O|[P]George said: لانك ما تقدر تعدل لو تبيه يضرب عن بعد او تبي كام دمجه انما تقدر تسوي تحقق لو السلاح كان بالاي دي 16 فيقلل مثلا 30 من اللاعب الي تدمج ذا لو تبي تزيد الدمج لسلاح Expand المقصد ما ابي الدمج انا اعطي مثال فقط من البروبيرتي علي العموم مشكور Link to comment
[T]|O|[P]George Posted October 8, 2018 Share Posted October 8, 2018 On 08/10/2018 at 22:11, KillerX said: المقصد ما ابي الدمج انا اعطي مثال فقط من البروبيرتي علي العموم مشكور Expand العفو - بس ذا الي فهمته من كلامك On 08/10/2018 at 20:31, KillerX said: اظن انوا بق لان مثلا شئ مثل الدميدج المفروض للسلاح عادي حتي لو بدون تصويب هو بيطلعوا فولس Expand لو ينفع توضح مقصدك يمكن غيري يقدر يساعدك - و بس 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