+Source|> Posted June 11, 2017 Posted June 11, 2017 طلب كود تحريك الصورة احرك الصورة وتوقف شوي وترجع تتحرك مثلا تدور وتوقف وتدور
AHMED MOSTAFA Posted June 11, 2017 Posted June 11, 2017 Just now, A7MEDENO said: طلب كود تحريك الصورة احرك الصورة وتوقف شوي وترجع تتحرك مثلا تدور وتوقف وتدور المتغيرات + setTimer
+Source|> Posted June 11, 2017 Author Posted June 11, 2017 Just now, Killer Project said: المتغيرات + setTimer وش كود التحريك اللي يخليها تجي يمين يسار
MR.StoRm Posted June 11, 2017 Posted June 11, 2017 3 minutes ago, A7MEDENO said: وش كود التحريك اللي يخليها تجي يمين يسار
MR.StoRm Posted June 11, 2017 Posted June 11, 2017 Just now, A7MEDENO said: وشهو ذا انزل ل تحت ورح تلاقي الي طلبته Boo مسويه
+Source|> Posted June 11, 2017 Author Posted June 11, 2017 addEventHandler("onClientGUIDoubleClick", guiResource2, function(player) local pl = guiGridListGetItemText ( places1 , guiGridListGetSelectedItem ( places1 ), 1) if pl == "البــدايــة │ X " then if isPedInVehicle ( player ) then fadeCamera ( false, 0.5 ) setTimer( function() triggerServerEvent ("bdaya", localPlayer) guiSetVisible ( GUIEditor.window[1],false) showCursor(false) setTimer( function() fadeCamera ( true, 0.5 ) end,1000,1) end,500,1) end end end ) ابيه ينتقل واللاعب داخل السيارة وخارج السيارة
F_F Posted June 12, 2017 Posted June 12, 2017 كخبير في اللغة لم اقم بتجربته ولكن تفضل addEventHandler("onClientGUIDoubleClick", guiResource2, function(player) local pl = guiGridListGetItemText ( places1 , guiGridListGetSelectedItem ( places1 ), 1) if pl == "البــدايــة │ X " then if isPedInVehicle ( player ) then getPedOccupiedVehicle ( localPlayer ) fadeCamera ( false, 0.5 ) setTimer( function() triggerServerEvent ("bdaya", localPlayer) guiSetVisible ( GUIEditor.window[1],false) showCursor(false) setTimer( function() fadeCamera ( true, 0.5 ) end,1000,1) end,500,1) end end end )
#BrosS Posted June 12, 2017 Posted June 12, 2017 28 minutes ago, F_F said: كخبير في اللغة لم اقم بتجربته ولكن تفضل addEventHandler("onClientGUIDoubleClick", guiResource2, function(player) local pl = guiGridListGetItemText ( places1 , guiGridListGetSelectedItem ( places1 ), 1) if pl == "البــدايــة │ X " then if isPedInVehicle ( player ) then getPedOccupiedVehicle ( localPlayer ) fadeCamera ( false, 0.5 ) setTimer( function() triggerServerEvent ("bdaya", localPlayer) guiSetVisible ( GUIEditor.window[1],false) showCursor(false) setTimer( function() fadeCamera ( true, 0.5 ) end,1000,1) end,500,1) end end end ) يبني وش ذا أنت ضفت وظيفة فقط وما سويت لها استخدام خبير باللغة أنا على وشك الانفجار من الضحك بس خوفا من غلق الموضوع ونصور يحذرني واتعبه ???????
AHMED MOSTAFA Posted June 12, 2017 Posted June 12, 2017 Just now, F_F said: كخبير في اللغة لم اقم بتجربته ولكن تفضل addEventHandler("onClientGUIDoubleClick", guiResource2, function(player) local pl = guiGridListGetItemText ( places1 , guiGridListGetSelectedItem ( places1 ), 1) if pl == "البــدايــة │ X " then if isPedInVehicle ( player ) then getPedOccupiedVehicle ( localPlayer ) fadeCamera ( false, 0.5 ) setTimer( function() triggerServerEvent ("bdaya", localPlayer) guiSetVisible ( GUIEditor.window[1],false) showCursor(false) setTimer( function() fadeCamera ( true, 0.5 ) end,1000,1) end,500,1) end end end ) مررررررررررررررررررحب خبير اللغة زمان عليك بس شوف عندك player معرفة لكنها مب لاعب وبالنسبة للبارتمر اللي انت مسويه داخل الفنكشن يعود للزر ماهو لاعب اصلاً guiResource2 ما ادري مين مسويها بصراحةودي اجيب اكواد تانية لكن مب مركز صراحة هههههههههه
#Soking Posted June 12, 2017 Posted June 12, 2017 6 minutes ago, Killer Project said: مررررررررررررررررررحب خبير اللغة زمان عليك بس شوف عندك player معرفة لكنها مب لاعب وبالنسبة للبارتمر اللي انت مسويه داخل الفنكشن يعود للزر ماهو لاعب اصلاً guiResource2 ما ادري مين مسويها بصراحةودي اجيب اكواد تانية لكن مب مركز صراحة هههههههههه فعلا ض1
Jupi Posted June 12, 2017 Posted June 12, 2017 3 hours ago, Killer Project said: المتغيرات + setTimer ليه تايمر؟
#Soking Posted June 12, 2017 Posted June 12, 2017 Just now, #DABL said: ليه تايمر؟ عشان يتحكم في مقدار الزياده للمتغير
Jupi Posted June 12, 2017 Posted June 12, 2017 ما سمعتوا عن interpolateBetween? حركتها انعم من التايمر .. 1
#Soking Posted June 12, 2017 Posted June 12, 2017 Just now, #DABL said: ما سمعتوا عن interpolateBetween? حركتها انعم من التايمر .. عادي , يمكن مايعرف يستعملها :'D
Master_MTA Posted June 12, 2017 Posted June 12, 2017 46 minutes ago, F_F said: كخبير في اللغة لم اقم بتجربته ولكن تفضل addEventHandler("onClientGUIDoubleClick", guiResource2, function(player) local pl = guiGridListGetItemText ( places1 , guiGridListGetSelectedItem ( places1 ), 1) if pl == "البــدايــة │ X " then if isPedInVehicle ( player ) then getPedOccupiedVehicle ( localPlayer ) fadeCamera ( false, 0.5 ) setTimer( function() triggerServerEvent ("bdaya", localPlayer) guiSetVisible ( GUIEditor.window[1],false) showCursor(false) setTimer( function() fadeCamera ( true, 0.5 ) end,1000,1) end,500,1) end end end ) اخوي الفاضل اطلبك في طلب بسيط انك تمتنع عن مساعدة الناس باكواد خاطئه بكل بساطه اللي تعرفه ساعد بيه واللي ما تعرفه لا تساعد بيه يرزقك الجنه لو سمحت اسمع نصيحتي وخذ بيها
Jupi Posted June 12, 2017 Posted June 12, 2017 1 minute ago, #Soking said: عادي , يمكن مايعرف يستعملها :'D طيب يا شطار بدل ما تجلسوا تتمسخروا علي اللي يحاول يساعد علموه كيف يستعملها : )
#Soking Posted June 12, 2017 Posted June 12, 2017 addEventHandler ( 'onClientRender' , root , function ( ) local aCounter1 = getTickCount ( ) local Interpolate = { interpolateBetween ( 360 , 0 , 0 , 0 , 0 , 0 , ( aCounter1 - aCounter2 ) / ( ( aCounter2 + 2000 ) - aCounter2 ) , 'OutElastic' ) } dxDrawImage ( x , y , w , h , 'iMage.png' , Interpolate [ 1 ] ) end ) addCommandHandler ( 'Start' , function ( ) aCounter2 = getTickCount ( ) end ) 2 minutes ago, #DABL said: طيب يا شطار بدل ما تجلسوا تتمسخروا علي اللي يحاول يساعد علموه كيف يستعملها : )
#BrosS Posted June 12, 2017 Posted June 12, 2017 1 minute ago, #DABL said: طيب يا شطار بدل ما تجلسوا تتمسخروا علي اللي يحاول يساعد علموه كيف يستعملها : ) الشرح هريسة ومايونيز اتحدى حد يفهم شي ?
Jupi Posted June 12, 2017 Posted June 12, 2017 1 minute ago, #BrosS said: الشرح هريسة ومايونيز اتحدى حد يفهم شي ? علي الاقل خطوة ايجابية احسن من الساخر بدون فعل
Master_MTA Posted June 12, 2017 Posted June 12, 2017 2 minutes ago, #DABL said: علي الاقل خطوة ايجابية احسن من الساخر بدون فعل حبيب قلبي رايك على راسي اولا ما اسخر من اللي ساعد بالعكس انا قدمتله نصيحه ثانيا انت تناقض نفسك بما انك تسخر من اللي يسخرون بدون فعل وبذلك انت ايضا تسخر بدون فعل على الاقل اكتب ردك هذا ووارفق معه الاجابه +_+ اعذرني لو اخطيت بحقك لكن اللي على بالي اقوله
#Soking Posted June 12, 2017 Posted June 12, 2017 59 minutes ago, F_F said: كخبير في اللغة لم اقم بتجربته ولكن تفضل addEventHandler("onClientGUIDoubleClick", guiResource2, function(player) local pl = guiGridListGetItemText ( places1 , guiGridListGetSelectedItem ( places1 ), 1) if pl == "البــدايــة │ X " then if isPedInVehicle ( player ) then getPedOccupiedVehicle ( localPlayer ) fadeCamera ( false, 0.5 ) setTimer( function() triggerServerEvent ("bdaya", localPlayer) guiSetVisible ( GUIEditor.window[1],false) showCursor(false) setTimer( function() fadeCamera ( true, 0.5 ) end,1000,1) end,500,1) end end end ) Pos = { x , y , z } addEvent ( 'setElementPosition' , true ) addEventHandler ( 'setElementPosition' , root , function ( ) outputChatBox ( 'Welcome' ) fadeCamera ( source , false ) setTimer ( function ( source ) local Vehicle = getPedOccupiedVehicle ( source ) return fadeCamera ( source , true ) and ( Vehicle and setElementPosition ( Vehicle , Pos [ 1 ] , Pos [ 2 ] , Pos [ 3 ] ) or setElementPosition ( source , Pos [ 1 ] , Pos [ 2 ] , Pos [ 3 ] ) ) end , 2000 , 1 , source ) end ) addEventHandler ( 'onClientGUIDoubleClick' , GridList , function ( ) local aSelected = guiGridListGetSelectedItem ( GridList ) if ( aSelected > -1 ) then if ( guiGridListGetItemText ( GridList , aSelected , 1 ) == "البــدايــة │ X " ) then triggerServerEvent ( 'setElementPosition' , localPlayer ) end end end , false )
F_F Posted June 12, 2017 Posted June 12, 2017 4 minutes ago, #Soking said: addEventHandler ( 'onClientRender' , root , function ( ) local aCounter1 = getTickCount ( ) local Interpolate = { interpolateBetween ( 360 , 0 , 0 , 0 , 0 , 0 , ( aCounter1 - aCounter2 ) / ( ( aCounter2 + 2000 ) - aCounter2 ) , 'OutElastic' ) } dxDrawImage ( x , y , w , h , 'iMage.png' , Interpolate [ 1 ] ) end ) addCommandHandler ( 'Start' , function ( ) aCounter2 = getTickCount ( ) end ) كخبير في اللغة اهتئك على هذا كما هو متوقع من زميلي 10 minutes ago, Master_MTA said: addEventHandler("onClientGUIDoubleClick", guiResource2, function(player) local pl = guiGridListGetItemText ( places1 , guiGridListGetSelectedItem ( places1 ), 1) if pl == "البــدايــة │ X " then if isPedInVehicle ( player ) then getPedOccupiedVehicle ( localPlayer ) fadeCamera ( false, 0.5 ) setTimer( function() triggerServerEvent ("bdaya", localPlayer) guiSetVisible ( GUIEditor.window[1],false) showCursor(false) setTimer( function() fadeCamera ( true, 0.5 ) end,1000,1) end,500,1) end end end ) انا ساعدته كخبير في اللغة لا اكثر ولا اقل 6 minutes ago, #BrosS said: الشرح هريسة ومايونيز اتحدى حد يفهم شي ? كخبير في اللغة انا اهنئك على شرحك وقد يكون نسبة تعلمها كبيرة جدا
#Soking Posted June 12, 2017 Posted June 12, 2017 aCounter2 = 0 addEventHandler ( 'onClientRender' , root , function ( ) local aCounter1 = getTickCount ( ) local Interpolate = { interpolateBetween ( 360 , 0 , 0 , 0 , 0 , 0 , ( aCounter1 - aCounter2 ) / ( ( aCounter2 + 2000 ) - aCounter2 ) , 'OutElastic' ) } dxDrawImage ( x , y , w , h , 'iMage.png' , Interpolate [ 1 ] ) end ) addCommandHandler ( 'Start' , function ( ) aCounter2 = getTickCount ( ) end ) تعديل بسيط
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