αвυ-wαleed Posted March 20, 2014 Share Posted March 20, 2014 طبعا كل شيءواضح بالكود مشكلتي بعد مايتشريها ابغى يروح لها وراب سويته مانفع وابغى اذا كتبت في اف 8 تفجير تنفجر سويته وما انفجرت function CreateAll ( ) SpeacialCar = createVehicle ( 557, -68.67147064209,-1119.7764892578,1.078125 ) warpPedIntoVehicle ( SpeacialCar, true ) end addCommandHandler ( "تفجير", function ( player ) if ( getElementData( player, "canUse" ) == true ) then blowVehicle ( player, true ) end end ) addEvent("ttt",true) addEventHandler("ttt",root, function ( ) if ( getPlayerMoney ( source ) >= 20000 ) then takePlayerMoney ( source, 20000 ) setElementData( source, "canUse", true ) CreateAll ( ) end end ) Link to comment
iPrestege Posted March 20, 2014 Share Posted March 20, 2014 هذا الكود هريسة بنسبة 96.99 % لازم تسوي لة تعديل وتضبيط وجداول بحيث يكون سليم و بطريقة مميزة و صحيحة . Link to comment
αвυ-wαleed Posted March 20, 2014 Author Share Posted March 20, 2014 خخخخخخخ اش هريسته Link to comment
iPrestege Posted March 20, 2014 Share Posted March 20, 2014 SpecialCar = { } function MakeVehicles ( player ) if ( SpecialCar [ player ] ) and ( isElement ( SpecialCar [ player ] ) ) then destroyElement ( SpecialCar [ player ] ) SpecialCar [ player ] = nil end SpecialCar [ player ] = createVehicle ( 557, -68.67147064209,-1119.7764892578,1.078125 ) warpPedIntoVehicle ( player,SpecialCar [ player ] ) end addCommandHandler ( 'تفجير', function ( player ) if ( SpecialCar [ player ] ) and ( isElement ( SpecialCar [ player ] ) ) then blowVehicle ( SpecialCar [ player ] ) SpecialCar [ player ] = nil end end ) addEvent('ttt',true) addEventHandler('ttt',root, function ( ) if ( getPlayerMoney ( source ) >= 20000 ) then takePlayerMoney ( source,20000 ) MakeVehicles ( source ) end end ) addEventHandler ( 'onVehicleExplode',resourceRoot, function ( ) setTimer ( destroyElement,3000,1,source ) end ) addEventHandler ( 'onPlayerQuit',root, function ( ) if ( SpecialCar [ source ] ) and ( isElement ( SpecialCar [ source ] ) ) then destroyElement ( SpecialCar [ source ] ) SpecialCar [ source ] = nil end end ) Link to comment
αвυ-wαleed Posted March 20, 2014 Author Share Posted March 20, 2014 كفوووو جاري التجربة 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