Jump to content

استفسار ..


CRoW,,#

Recommended Posts

Use: givePlayerMoney - عشان تعطي فلوس

واذا ماعرفت اسدح كودك..

يب اعرفه

بس اقصد اذا فجرت الاعب عن الطريق الصاروخ الي مسويه

يجيه فلوس

CanShoot = true 
  
bindKey ( "a", "down", 
    function ( ) 
        local vehicle = getPedOccupiedVehicle ( localPlayer ) 
        if ( vehicle ) then 
            if ( CanShoot == true ) then 
                local x, y, z = getElementPosition ( vehicle ) 
                createProjectile ( vehicle, 19, x, y, z, 200 ) 
                CanShoot = false 
                setTimer ( function ( ) CanShoot = true end, 3000, 1 ) 
            end 
        end 
    end 
) 

Link to comment
addEventHandler( "onPlayerWasted", getRootElement( ), 
function ( _, attacker, weapon, _ ) 
local theVehicle = getPedOccupiedVehicle ( source ) 
local thePlayer = getVehicleController ( source ) 
if isPedInVehicle ( source ) then 
givePlayerMoney (  attacker, 30000 ) 
end  
) 

ادري هريسسة

Link to comment

addEventHandler( "onPlayerWasted", root, function ( _, killer ) 
  local vehicle = getPedOccupiedVehicle ( source ) 
  local aVehicle = getPedOccupiedVehicle ( killer ) 
   if ( vehicle and source == getVehicleController( vehicle ) ) then 
      if ( aVehicle and killer == getVehicleController( aVehicle ) ) then 
             givePlayerMoney ( getVehicleController( killer ), 30000 ) 
             end 
       end 
end ) 
Link to comment
addEventHandler( "onPlayerWasted", root, function ( _, killer ) 
  local vehicle = getPedOccupiedVehicle ( source ) 
  local aVehicle = getPedOccupiedVehicle ( killer ) 
   if ( vehicle and source == getVehicleController( vehicle ) ) then 
      if ( aVehicle and killer == getVehicleController( aVehicle ) ) then 
             givePlayerMoney ( getVehicleController( killer ), 30000 ) 
             end 
       end 
end ) 

ما نفع

Link to comment
addEventHandler( "onPlayerWasted", root, function ( _, killer ) 
  if ( killer and isPedInVehicle(killer) and isPedInVehicle(source) ) then 
    givePlayerMoney ( killer, 30000 ) 
  end 
end) 
  

جرب .. ^

بـ اختصار ي زاحف يصير كذا ,,

لان اساسا يوم يموت الاعب ويكون اللي مهاجمه بسيارة

اكيد بسيارة عشان هو قيم مود ريس :|

ما يقدر ينزل من الموتر :|

المهم ما علينا جرب

Link to comment
addEventHandler( "onPlayerWasted", root, function ( _, killer )
  if ( killer and isPedInVehicle(killer) and isPedInVehicle(source) ) then
    givePlayerMoney ( killer, 30000 )
  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...