CRoW,,# Posted February 8, 2014 Share Posted February 8, 2014 الحين انا اذا اطلقت صاروخ من الموتر وفجرت واحد تجني فلوس مثلا .. Link to comment
CRoW,,# Posted February 8, 2014 Author Share Posted February 8, 2014 الحين انا اذا اطلقت صاروخ وانا داخل السيارة عن طريق createProjectile وفجرت واحد ابي فلوس تجيني Link to comment
abu5lf Posted February 8, 2014 Share Posted February 8, 2014 Use: givePlayerMoney - عشان تعطي فلوس واذا ماعرفت اسدح كودك.. Link to comment
CRoW,,# Posted February 8, 2014 Author Share Posted February 8, 2014 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
CRoW,,# Posted February 8, 2014 Author Share Posted February 8, 2014 addEventHandler("onClientExplosion",getRootElement(), function (x,y,z,3) triggerServerEvent("mm", localPlayer) end ) addEvent("mm",true) addEventHandler("mm",root, function() givePlayerMoney ( player, 30000 ) end ) كذا Link to comment
./BlackBird# Posted February 8, 2014 Share Posted February 8, 2014 كذا راح يعطي كل السيرفر فلوس لما يصير انفجار Link to comment
CRoW,,# Posted February 8, 2014 Author Share Posted February 8, 2014 واذا حطيته كلنت تجي فلوس وهمية اجل كيف احطه ؟ Link to comment
abu5lf Posted February 9, 2014 Share Posted February 9, 2014 واذا حطيته كلنت تجي فلوس وهمية اجل كيف احطه ؟ حطه سيرفر Link to comment
فاّرس Posted February 9, 2014 Share Posted February 9, 2014 onPlayerWasted isPedInVehicle getPedOccupiedVehicle getVehicleController givePlayerMoney Link to comment
CRoW,,# Posted February 9, 2014 Author Share Posted February 9, 2014 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
#DRAGON!FIRE Posted February 9, 2014 Share Posted February 9, 2014 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
CRoW,,# Posted February 10, 2014 Author Share Posted February 10, 2014 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
AboShanab Posted February 10, 2014 Share Posted February 10, 2014 addEventHandler( "onPlayerWasted", root, function ( _, killer ) if ( killer and isPedInVehicle(killer) and isPedInVehicle(source) ) then givePlayerMoney ( killer, 30000 ) end end) جرب .. ^ بـ اختصار ي زاحف يصير كذا ,, لان اساسا يوم يموت الاعب ويكون اللي مهاجمه بسيارة اكيد بسيارة عشان هو قيم مود ريس ما يقدر ينزل من الموتر المهم ما علينا جرب Link to comment
#DRAGON!FIRE Posted February 10, 2014 Share Posted February 10, 2014 addEventHandler( "onPlayerWasted", root, function ( _, killer ) if ( killer and isPedInVehicle(killer) and isPedInVehicle(source) ) then givePlayerMoney ( killer, 30000 ) 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