Jump to content

#Soking

Members
  • Posts

    1,439
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by #Soking

  1. 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 ) تعديل بسيط
  2. 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 )
  3. 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 )
  4. عادي , يمكن مايعرف يستعملها :'D
  5. عشان يتحكم في مقدار الزياده للمتغير
  6. دي طريقه جربها و قلي addEventHandler ( 'onPlayerDamage' , root , function ( Attacker , _ , _ , Loss ) if ( Attacker and getElementType ( Attacker ) == 'player' ) then local Data = getElementData ( Attacker , 'Loss' ) if ( ( Loss - Data ) < 1 ) then killPed ( source , Attacker ) else setTimer ( setElementHealth , 50 , 1 , source , getElementHealth ( source ) - Data ) end end end end )
  7. Flood , Var , aTimer = { } , { } , { } addEventHandler ( 'onPlayerChat' , root , function ( ) if ( not isPlayerMuted ( source ) ) then if ( Var [ source ] == 3 ) then if ( not isTimer ( aTimer [ source ] ) ) then aTimer [ source ] = setTimer ( function ( source ) Var [ source ] , aTimer [ source ] , Flood [ source ] = 0 , nil , nil setPlayerMuted ( source , false ) outputChatBox ( "* Hi , You Can Talk " , source ) end , 5000 , 1 , source ) end if ( Flood [ source ] == 2 ) then outputChatBox ( " * Muted " , source ) setPlayerMuted ( source , true ) cancelEvent ( ) else outputChatBox ( " * You Can't Say In Chat Now " , source ) Flood [ source ] = ( Flood [ source ] or 0 ) + 1 cancelEvent ( ) end else Var [ source ] = ( Var [ source ] or 0 ) + 1 end end end )
  8. وش تبي تغير للاعب بس ؟
  9. وين حاطط التحقق مو محصله
  10. if ( isPlayerMuted ( source ) ) then return end
  11. مو فارقه لانه رجع يحولها لـ عدد عند تسجيل الدخول
  12. ههههههههههههه عجبتني الدعوه حياك اخ كور ان شاء الله انا من اول الزائرين :*
  13. onVehicleEnter onClientVehicleEnter
  14. addEventHandler ( 'onClientGUIClick' , GUIEditor.button[3] , function ( ) local Text = guiGetText ( GUIEditor.edit [ 1 ] ) if ( Text ~= '' ) then local Render = function ( ) dxDrawRectangle ( 0 , 551 , 800 , 39 , tocolor ( 0 , 0 , 0 , 159 ) , false ) dxDrawText ( Text , 0 , 551 , 800 , 586 , tocolor ( 255 , 255 , 255 , 255 ) , 2.20, 'sans' , 'center' , 'center' , false , false , false , false , false ) end return ( playSoundFrontEnd ( 30 ) and addEventHandler ( 'onClientRender' , root , Render ) and setTimer ( function ( ) removeEventHandler ('onClientRender' , root , Render ) end , 5000 , 1 ) ) end end , false )
  15. Teams = { 'Team1' , 'Team2' , 'Team3' , 'Team4' } for _ , v in ipairs ( Teams ) do setTeamFriendlyFire ( createTeam ( v , 255 , 255 , 255 ) , false ) end
  16. غير الترويج ل فلوس و تقدر تستخدمو الجداول
  17. حط باول سطر برا الحدث Var = 0
  18. لا مو صح لان القيمه معدومه وانت تبي تزود عليها
  19. كوودك بيطلع دي بق لو لمسه شي غير الاعب
  20. حد. المشكله بالزبط
  21. يا ستروم هو قال شغاله وبعدين راجع الاكواد انا قفلت القوس الـ فتحته عند ال return
×
×
  • Create New...