Mr.king Posted January 31, 2013 Share Posted January 31, 2013 شباب عندي مود الميوت التلقائي لما احد يسب يطلع في الشات تم صكك ميوت لكلامك الوصخ عشانك سبيت >مثلا بس ماتنصك ميوت يجيك كلام في الشات انك انصكيت وانت مانصكيت ومداك تتكلم كود Words = { ["كلب"] = true, ["حمار"] = true, ["**"] = true, ["امك"] = true, ["ابوك"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["ادمنية"] = true, ["أدمنية"] = true, ["ادمنيه"] = true, ["أدمنيه"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["**"] = true, ["حياكم"] = true, ["حيااكم"] = true, ["بروم"] = true, ["بسيرفر"] = true, ["بالبحث"] = true, ["بسيفر"] = true, ["للهجوله"] = true, ["للهجولة"] = true, ["سعود"] = true, ["محشش"] = true, } ----- Muting Function addEventHandler("onPlayerChat", getRootElement(), function(msg, msgType) local theMsg = msg if Words[theMsg] then cancelEvent() pName = getPlayerName(source) outputChatBox("[[ #FFFFFF".. pName .." #FF0000]] -----> تــٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍم صككً ميؤوؤت .. لكلآمـك الوصصخ <-----",getRootElement(),255,0,0,true) setPlayerMuted(source, true) setTimer (function ( player , 7000 ) setPlayerMuted (getRootElement(), false ) outputChatBox("#0000ff ===== تـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍم فك الميؤوؤت .. لآتكــررهآإ لآلإهنتّ =====",getRootElement(),255,0,0,true) end, ------ The Time Player Be Muted ! - 99999999999999 = 99999999999999 Minute 30000 ------ وقت الميوت للاعب ! - 99999999999999 = 99999999999999 دقيقة ,1, true ) end end ) الرجاء التصحيح شباب Link to comment
jafar Posted January 31, 2013 Share Posted January 31, 2013 هذا كود اسامة ضيف المود بقروب ادمن ^ + ليه مكرر الموضوع ثلاث مرات Link to comment
|Mr|-Talal07-| Posted January 31, 2013 Share Posted January 31, 2013 ليه مكرر الموضوع تبي مليون افاده الرجاء من الـمشرف حذف المتكرر و نقل ذا الموضوع الى قسم البرمجه Link to comment
3NAD Posted January 31, 2013 Share Posted January 31, 2013 -- لم يتم التجربة Words = { "كلمة", "كلمة", "كلمة", } addEventHandler ( "onPlayerChat", root, function ( msg, msgType ) for _, v in ipairs ( Words ) do if string.find ( msg, v ) then cancelEvent ( ) pName = getPlayerName ( source ) outputChatBox ( "[[ #FFFFFF".. pName .." #FF0000]] -----> تــٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍم صككً ميؤوؤت .. لكلآمـك الوصصخ <-----", source, 255, 0, 0, true ) setPlayerMuted ( source, true ) local player = source setTimer ( unMutePlayer, 30000, 1, player ) return end end end ) function unMutePlayer ( player ) setPlayerMuted ( player, false ) outputChatBox("#0000ff ===== تـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍـٍم فك الميؤوؤت .. لآتكــررهآإ لآلإهنتّ =====", player, 0, 255, 0, true ) 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