خل اللوب يولي مادري شدخله شطحت
خذ الكود من جانب سيرفر
Words = {
["حيوان"] = true, -- << تقدر تضيف كلام زياده تسوي نفس الشيء
}
addEventHandler ( "onPlayerChat", root, function ( msg )
local word = msg
if ( Words[word] ) then
cancelEvent ( )
outputChatBox ( "* تم صكك ميوت لكلامكـ السيء", source, 255, 0, 0, true )
setPlayerMuted ( source, true )
setTimer ( function ( )
setPlayerMuted ( source, false )
outputChatBox ( "#00FF00* تم فك الميوت والرجاء عدم تكرار الكلام السيء", source , 255, 255, 255, true )
end, 30000, 10, true ) -- هنا حط وقت الميوت الي تبيه
end
end )