Jump to content

طلب كود


[DONE]*

Recommended Posts

السلام عليكم و رحمة الله و بركاته :)

____________________________________________________________________________________________________________

كيف الحال شباب , انشاء الله بخير :wink:

____________________________________________________________________________________________________________

شباب انا سويت مود الدعم بحرف معين عبار عن لوحه قريد ليست (مكان ظهور الشات) وانا كنت ابي لما واحد يكون بأسل معين :roll:

لما يكتب يطلع كلامه و اسمه بلون معين

____________________________________________________________________________________________________________

اتمنى انكم فهمتوا

و اعتذر لو الكود صعب لأني ما عندي فكره عنه :|

____________________________________________________________________________________________________________

وشكرا لكم :mrgreen:

----------------------------------------------------------------------------------------------------------------------------------------------------------

Link to comment
  • Other Languages Moderators
شباب انا سويت مود الدعم بحرف معين عبار عن لوحه قريد ليست (مكان ظهور الشات

حط كودك

و ياليت معه محاولة التطبيق، هذا ان كنت حاولت

Link to comment
addEvent("Message",true) 
addEventHandler("Message",root,function ( Sender , Room ,Time, Text ) 
 if ( Room and Text ) then 
  local grid = Tabs[Room]["Grid"] 
  local row = guiGridListAddRow(grid) 
  guiGridListSetItemText ( grid , row , 1 , Time , false , false ) 
  guiGridListSetItemText ( grid , row , 2 , Text , false , false ) 
   
  for i,v in ipairs (getElementsByType("player")) do 
  
  local vis = guiGetVisible(CS_Window) 
  if vis == true and guiGetText(guiGetSelectedTab(CS_TabPanel)) == Room then 
   local check = guiCheckBoxGetSelected(Tabs[Room]["Check2"]) 
   if check == true then 
   local sound = playSound("alarm.mp3") --Play wasted.mp3 from the sounds folder 
   setSoundVolume(sound, 1) 
    
   end 
   end 
   end 
   for i,v in ipairs (getElementsByType("player")) do 
   if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(v)),aclGetGroup("Support")) ) then 
     guiGridListSetItemColor ( grid , row, 2, 0, 255, 0 ) end  
  end 
 end 
end ) 

شف

Link to comment
addEvent("Message",true) 
addEventHandler("Message",root,function ( Sender , Room ,Time, Text ) 
 if ( Room and Text ) then 
  local grid = Tabs[Room]["Grid"] 
  local row = guiGridListAddRow(grid) 
  guiGridListSetItemText ( grid , row , 1 , Time , false , false ) 
  guiGridListSetItemText ( grid , row , 2 , Text , false , false ) 
   
  for i,v in ipairs (getElementsByType("player")) do 
  
  local vis = guiGetVisible(CS_Window) 
  if vis == true and guiGetText(guiGetSelectedTab(CS_TabPanel)) == Room then 
   local check = guiCheckBoxGetSelected(Tabs[Room]["Check2"]) 
   if check == true then 
   local sound = playSound("alarm.mp3") --Play wasted.mp3 from the sounds folder 
   setSoundVolume(sound, 1) 
    
   end 
   end 
   end 
   for i,v in ipairs (getElementsByType("player")) do 
   if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(v)),aclGetGroup("Support")) ) then 
     guiGridListSetItemColor ( grid , row, 2, 0, 255, 0 ) end  
  end 
 end 
end ) 

شف

:|:|

Link to comment
addEvent("Message",true) 
addEventHandler("Message",root,function ( Sender , Room ,Time, Text ) 
 if ( Room and Text ) then 
  local grid = Tabs[Room]["Grid"] 
  local row = guiGridListAddRow(grid) 
  guiGridListSetItemText ( grid , row , 1 , Time , false , false ) 
  guiGridListSetItemText ( grid , row , 2 , Text , false , false ) 
   
  for i,v in ipairs (getElementsByType("player")) do 
  
  local vis = guiGetVisible(CS_Window) 
  if vis == true and guiGetText(guiGetSelectedTab(CS_TabPanel)) == Room then 
   local check = guiCheckBoxGetSelected(Tabs[Room]["Check2"]) 
   if check == true then 
   local sound = playSound("alarm.mp3") --Play wasted.mp3 from the sounds folder 
   setSoundVolume(sound, 1) 
    
   end 
   end 
   end 
   for i,v in ipairs (getElementsByType("player")) do 
   if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(v)),aclGetGroup("Support")) ) then 
     guiGridListSetItemColor ( grid , row, 2, 0, 255, 0 ) end  
  end 
 end 
end ) 

شف

:crazy: Client مـع Server

Link to comment
addEvent("Message",true) 
addEventHandler("Message",root,function ( Sender , Room ,Time, Text ) 
 if ( Room and Text ) then 
  local grid = Tabs[Room]["Grid"] 
  local row = guiGridListAddRow(grid) 
  guiGridListSetItemText ( grid , row , 1 , Time , false , false ) 
  guiGridListSetItemText ( grid , row , 2 , Text , false , false ) 
   
  for i,v in ipairs (getElementsByType("player")) do 
  
  local vis = guiGetVisible(CS_Window) 
  if vis == true and guiGetText(guiGetSelectedTab(CS_TabPanel)) == Room then 
   local check = guiCheckBoxGetSelected(Tabs[Room]["Check2"]) 
   if check == true then 
   local sound = playSound("alarm.mp3") --Play wasted.mp3 from the sounds folder 
   setSoundVolume(sound, 1) 
    
   end 
   end 
   end 
   for i,v in ipairs (getElementsByType("player")) do 
   if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(v)),aclGetGroup("Support")) ) then 
     guiGridListSetItemColor ( grid , row, 2, 0, 255, 0 ) end  
  end 
 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...