CRoW,,# Posted January 3, 2014 Share Posted January 3, 2014 bindKey("a","down", function ( ) local m = getPedOccupiedVehicle ( localPlayer ) if ( m ) then setTimer(function() createProjectile(vehicle,19); end,1000,1) end end ) المشكلة انه ما يطلق صاروخ ابد # Link to comment
#DRAGON!FIRE Posted January 3, 2014 Share Posted January 3, 2014 bindKey("a","down", function ( ) local m = getPedOccupiedVehicle ( localPlayer ) if ( m ) then setTimer(function() createProjectile(vehicle,19); end,1000,1) end end ) المشكلة انه ما يطلق صاروخ ابد # ججرب bindKey( "a", "down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) then setTimer(function() local x, y, z = getElementPosition( vehicle ) createProjectile(vehicle, 19, x, y, z, 200) end,1000,1) end end ) Link to comment
CRoW,,# Posted January 3, 2014 Author Share Posted January 3, 2014 اشتغل بس انا ابيه بين كل صاروخ ياخذ فترة مو يطلق صاروخ يحي الي بعده ع طول Link to comment
#DRAGON!FIRE Posted January 3, 2014 Share Posted January 3, 2014 اشتغل بس انا ابيه بين كل صاروخ ياخذ فترة مو يطلق صاروخ يحي الي بعده ع طول # قول كذا , انا ما ادري وش تقصد من قصة التايمر ججرب .. 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(CanShoot, 3000, 1, true) end end end ) Link to comment
CRoW,,# Posted January 3, 2014 Author Share Posted January 3, 2014 ما يمديني اطلق اكثر من صاروخ ذذ Link to comment
#DRAGON!FIRE Posted January 3, 2014 Share Posted January 3, 2014 ما يمديني اطلق اكثر من صاروخ ذذ انت وش تقصد ؟ انا سويت لك انه يطلق صاروخ , وينتظر فترة وبعدين يقدر يطلق Link to comment
CRoW,,# Posted January 3, 2014 Author Share Posted January 3, 2014 انا الحين اطلق اوك انتظر فترة اطلق مرة ثانيه مايجي صاروخ فهمت Link to comment
3NAD Posted January 3, 2014 Share Posted January 3, 2014 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 January 3, 2014 Author Share Posted January 3, 2014 يعطيكم الف عافية عناد + زاحف ما قصرتوا اشتغل Link to comment
CRoW,,# Posted January 4, 2014 Author Share Posted January 4, 2014 طيب لو ابغاه لتيم معين سويته كذا بس ما ضبط معي CanShoot = true bindKey ( "x", "down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) then if ( CanShoot == true ) then if getPlayerTeam ( source ) == getTeamFromName ( "Killer" ) 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 end ) Link to comment
./BlackBird# Posted January 4, 2014 Share Posted January 4, 2014 CanShoot = true bindKey ( "a", "down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) then if ( CanShoot == true ) then if ( getPlayerTeam(localPlayer) == getTeamFromName("Killer") 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 end ) Link to comment
Mr-M3AND Posted January 4, 2014 Share Posted January 4, 2014 CanShoot = true bindKey ( "a", "down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) then if ( CanShoot == true ) then if ( getPlayerTeam(localPlayer) == getTeamFromName("Killer") 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 end ) في قوس ناقص بسطر 8 Link to comment
AboShanab Posted January 4, 2014 Share Posted January 4, 2014 CanShoot = true bindKey ( "a", "down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) then if ( CanShoot == true ) then if ( getPlayerTeam(localPlayer) == getTeamFromName("Killer") ) 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 end ) Link to comment
#DRAGON!FIRE Posted January 4, 2014 Share Posted January 4, 2014 CanShoot = true bindKey ( "a", "down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) then if ( CanShoot == true ) then if ( getPlayerTeam(localPlayer) and getPlayerTeam(localPlayer) == getTeamFromName("Killer") ) 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 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