Jump to content

طلب كود او مود


GtaSa-Dz

Recommended Posts

هذي تجيب السياره الي اللاعب داخلها , طيب افرض ان اللاعب مو داخل السياره بيجي خطأ اكيد,

فـ الشرط يكون كذا,

if isPedInVehicle(plr) and getElementHealth ( getPedOccupiedVehicle ( plr ) ) < 1000 then 

الكوبرا رتب اكوادك :)

Link to comment

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 by Guest
Link to comment
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

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...