Jump to content

طلب


Recommended Posts

السلام عليكم ممكن طلب

بدي اعمل ماركر وها الماركر لما ايجي احد من افراد قروب يجيدخل فيها تنفتح نافدة وها نافدة فسطها سيارات انا اضيفها للقروب

ممكن اكواد مطلوبة

امشالله فهمتو طلبي

ملاحطة 

نبيه خاص ب اعضاء القروب اعطوني متال علي SWAT

Link to comment
  1. bb1 = guiCreateButton(24,215,61,21,"Exit",false,window)
  2.   guiSetVisible(window,false)
  3.  
  4.  
  5.         bb2 = guiCreateButton(90,215,61,21,"Select",false,window)
  6.   cargrid = guiCreateGridList(16,32,139,174,false,window)
  7. guiGridListAddColumn(cargrid," Your Car",0.3)
  8. guiGridListSetColumnWidth(cargrid,1,0.4,true)
  9.        
  10. function closeInfo ( )
  11.         if ( guiGetVisible ( window ) == true ) then          
  12.                 guiSetVisible ( window, false )
  13.                     showCursor ( false )
  14.         end
  15. end
  16. addEventHandler ("onClientGUIClick", bb1, closeInfo)
  17.        
  18.         -----------------------------------------------------------------------
  19.        
  20.        theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150)
  21.        
  22. function tagColorAndSkin (button, state, absoluteX, absoluteY)
  23.   if (source == theMarker) then
  24.   guiSetVisible(window,true)
  25.     showCursor ( true )
  26.   end
  27. end
  28. addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin)
  29.  
  30.  
  31. -----------------------------------------------------------------------------------
  32. function populateGridlist()
  33. bb1 = guiCreateButton(24,215,61,21,"Exit",false,window)
  34.   guiSetVisible(window,false)
  35.  
  36.  
  37.         bb2 = guiCreateButton(90,215,61,21,"Select",false,window)
  38.   cargrid = guiCreateGridList(16,32,139,174,false,window)
  39. guiGridListAddColumn(cargrid," Your Car",0.3)
  40. guiGridListSetColumnWidth(cargrid,1,0.4,true)
  41.        
  42. function closeInfo ( )
  43.         if ( guiGetVisible ( window ) == true ) then          
  44.                 guiSetVisible ( window, false )
  45.                     showCursor ( false )
  46.         end
  47. end
  48. addEventHandler ("onClientGUIClick", bb1, closeInfo)
  49.        
  50.         -----------------------------------------------------------------------
  51.        
  52.        theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150)
  53.        
  54. function tagColorAndSkin (button, state, absoluteX, absoluteY)
  55.   if (source == theMarker) then
  56.   guiSetVisible(window,true)
  57.     showCursor ( true )
  58.   end
  59. end
  60. addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin)
  61.  
  62.  
  63. -----------------------------------------------------------------------------------
  64. function populateGridlist()
    Client
    
    bb1 = guiCreateButton(24,215,61,21,"Exit",false,window) 
      guiSetVisible(window,false) 
      
      
            bb2 = guiCreateButton(90,215,61,21,"Select",false,window) 
      cargrid = guiCreateGridList(16,32,139,174,false,window) 
    guiGridListAddColumn(cargrid," Your Car",0.3) 
    guiGridListSetColumnWidth(cargrid,1,0.4,true) 
             
    function closeInfo ( ) 
            if ( guiGetVisible ( window ) == true ) then            
                    guiSetVisible ( window, false ) 
                        showCursor ( false ) 
            end 
    end 
    addEventHandler ("onClientGUIClick", bb1, closeInfo) 
             
            ----------------------------------------------------------------------- 
             
           theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150) 
            
    function tagColorAndSkin (button, state, absoluteX, absoluteY) 
      if (source == theMarker) then 
      guiSetVisible(window,true) 
        showCursor ( true ) 
      end 
    end 
    addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin) 
      
      
    ----------------------------------------------------------------------------------- 
    function populateGridlist() 
    client
    
    
    
    
    window = guiCreateWindow(510,257,168,247,"Police cars by ismaeel",false) 
            bb1 = guiCreateButton(24,215,61,21,"Exit",false,window) 
      guiSetVisible(window,false) 
      
      
            bb2 = guiCreateButton(90,215,61,21,"Select",false,window) 
      cargrid = guiCreateGridList(16,32,139,174,false,window) 
    guiGridListAddColumn(cargrid," Your Car",0.3) 
    guiGridListSetColumnWidth(cargrid,1,0.4,true) 
             
    function closeInfo ( ) 
            if ( guiGetVisible ( window ) == true ) then            
                    guiSetVisible ( window, false ) 
                        showCursor ( false ) 
            end 
    end 
    addEventHandler ("onClientGUIClick", bb1, closeInfo) 
             
            ----------------------------------------------------------------------- 
             
           theMarker = createMarker(2484.5788574219, -1667.53125, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150) 
            
    function tagColorAndSkin (button, state, absoluteX, absoluteY) 
      if (source == theMarker) then 
      guiSetVisible(window,true) 
        showCursor ( true ) 
      end 
    end 
    addEventHandler ("onClientMarkerHit", getRootElement(), tagColorAndSkin) 
      
      
    ----------------------------------------------------------------------------------- 
    function populateGridlist() 

     

انشالله ساعدتك غير تيم ديرها قروب وبوليس ديرها سوات

Edited by Ismaeel_finer
Link to comment

هكي طلبي يا اخوي فهد زي مادار اسماعيل

خر بدل تيم قروب وبدل بوليس سوات

10 hours ago, FaHaD said:

تحقق من اللي خش الماركر انة لاعب وانة عندة الداتا او طريقة التحقق من قروب الاعب وسوي اللي تبية من سيارات

 

Link to comment
   marker = createMarker ( 927.09997558594,-2520.6999511719,16.10000038147, "cylinder", 2.5, 57, 0, 0, 255 )

  
  addEventHandler("onClientMarkerHit",marker,
  function (hitPlayer)
  
  if ( hitPlayer == localPlayer ) and  getElementData( hitPlayer,"gang") == "SWAT" then

  guiSetVisible(لوحتك,true)
  
  showCursor(true)
  
  
  end
  end
 )

 

Edited by Ahmed Ly
  • Like 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...