GtaSa-Dz Posted February 26, 2014 Share Posted February 26, 2014 ابي كود او مود لما تكتب ب باف 8 fix تتصلح سياره Link to comment
#DRAGON!FIRE Posted February 26, 2014 Share Posted February 26, 2014 addCommandHandler getPedOccupiedVehicle fixVehicle Link to comment
al-Kobra Posted February 26, 2014 Share Posted February 26, 2014 جرب , addCommandHandler ( "الكلمة", function ( plr ) if getElementHealth ( getPedOccupiedVehicle ( plr ) ) < 1000 then fixVehicle ( getPedOccupiedVehicle ( plr ) ) else outputChatBox ( "السيارة ما فيها ضرر", plr, 255, 0, 0, true ) end end ) Link to comment
فاّرس Posted February 26, 2014 Share Posted February 26, 2014 ^ طيب لو كتب الامر واللاعب ماهو بالسياره؟ -__-" Link to comment
Gomez10 Posted February 26, 2014 Share Posted February 26, 2014 طيب يا ذا بيست وهو حاطط ذي ليش ؟ getPedOccupiedVehicle ( plr ) ) Link to comment
فاّرس Posted February 26, 2014 Share Posted February 26, 2014 هذي تجيب السياره الي اللاعب داخلها , طيب افرض ان اللاعب مو داخل السياره بيجي خطأ اكيد, فـ الشرط يكون كذا, if isPedInVehicle(plr) and getElementHealth ( getPedOccupiedVehicle ( plr ) ) < 1000 then الكوبرا رتب اكوادك Link to comment
#DRAGON!FIRE Posted February 26, 2014 Share Posted February 26, 2014 (edited) addCommandHandler ( "fix", function ( player ) local vehicle = getPedOccupiedVehicle ( player ) if ( vehicle ) then if ( getElementHealth ( vehicle ) < 1000 ) then fixVehicle ( vehicle ) else outputChatBox ( "** لا يوجد اي ضرر بـ سيأرتكـ", player, 255, 0, 0, true ) end end end ) Edited February 26, 2014 by Guest Link to comment
GtaSa-Dz Posted February 26, 2014 Author Share Posted February 26, 2014 addCommandHandler ( "fix", function ( player ) local vehicle = getPedOccupiedVehicle ( player ) if ( vehicle ) then if ( getElementHealth ( vehicle ) < 1000 ) then fixVehicle ( vehicle ) else outputChatBox ( "** لا يوجد اي ضرر بـ سيأرتكـ", player, 255, 0, 0, true ) end end end ) بدون تجربه , اكيد صح لاننا تعودنا على كوداتكك الي كلها صح ب صح 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