[DONE]* Posted December 23, 2014 Share Posted December 23, 2014 السلام عليكم و رحمة الله و بركاته ____________________________________________________________________________________________________________ كيف الحال شباب , انشاء الله بخير ____________________________________________________________________________________________________________ شباب انا سويت مود الدعم بحرف معين عبار عن لوحه قريد ليست (مكان ظهور الشات) وانا كنت ابي لما واحد يكون بأسل معين لما يكتب يطلع كلامه و اسمه بلون معين ____________________________________________________________________________________________________________ اتمنى انكم فهمتوا و اعتذر لو الكود صعب لأني ما عندي فكره عنه ____________________________________________________________________________________________________________ وشكرا لكم ---------------------------------------------------------------------------------------------------------------------------------------------------------- Link to comment
TAPL Posted December 23, 2014 Share Posted December 23, 2014 isObjectInACLGroup guiGridListSetItemColor Link to comment
[DONE]* Posted December 23, 2014 Author Share Posted December 23, 2014 isObjectInACLGroup guiGridListSetItemColor ما قدرت اطبق الفنشكشنات اتمنى تطبقهم وتحط الكود بعد اذنك Link to comment
TAPL Posted December 23, 2014 Share Posted December 23, 2014 شباب انا سويت مود الدعم بحرف معين عبار عن لوحه قريد ليست (مكان ظهور الشات حط كودك و ياليت معه محاولة التطبيق، هذا ان كنت حاولت Link to comment
[DONE]* Posted December 24, 2014 Author Share Posted December 24, 2014 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
#DRAGON!FIRE Posted December 24, 2014 Share Posted December 24, 2014 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
EH10 Posted December 24, 2014 Share Posted December 24, 2014 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 ) شف Client مـع Server Link to comment
</Mr.Tn6eL> Posted December 25, 2014 Share Posted December 25, 2014 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
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