Jump to content

x[ تعديل ]x كود


Recommended Posts

سلام عليكم اليوم ابي اسوي كود

لما يكتب شي بالايدت

ويضعط علي زر

يجي الكتبه بالشات لكل الاعبين

سويته م ظبت

addEventHandler ( "onClientGUIClick",root, 
       function ( ) 
        if source == GUIEditor.button[4] then 
         for _, p in ipairs(getElementsByType('player')) do 
         edit = guiGetText(GUIEditor.edit[1]) 
         outputChatBox(" "..guiGetText(GUIEditor.edit[1]).." ",p,255,0,255,true) 
      end 
  end 
) 
Link to comment

كودك يصير هيك

addEventHandler ( "onClientGUIClick",root, 
       function ( ) 
        if source == GUIEditor.button[4] then 
        if ( guiGetText ( GUIEditor.edit[1] ) ~= "" ) then  
        triggerServerEvent("Send_",localPlayer,guiGetText(GUIEditor.edit[1])) 
            end 
      end 
  end ) 
  
  -- Server 
addEvent("Send_",true) 
addEventHandler("Send_",root, function ( Text ) 
outputChatBox ( Text , root , 255 , 255 , 255 , true )  
end ) 

Link to comment

طيب

كدا بيظهر لكل الاعبين

addEvent ("Rent",true) 
 addEventHandler("Rent",root, 
      function (  ) 
        for i, player in ipairs ( getElementsByType ( "player" ) ) do 
       outputChatBox( "#ffff00* [RentSysteam]: تم تفعيل الرنت للكل",root,255,255,255,true) 
  
    end 
end) 

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...