Jump to content

setPlayerMuted - all


Recommended Posts

آلكود صحيح آم لآ ؟

بغغغغيتهَ إذآ كتبت كومند يعطي جميع لآععبين آلسيرففر ميوت

Muted = function() 
local players = getElementsByType("player") 
for _,s in ipairs ( players ) do 
setPlayerMuted(s,true) 
end 
end 
addCommandHandler("MA",Muted) 

Link to comment
خوووووووووووووخه

طيب لو ادمن فك ميوت نفسه وش تسوي ؟ ض1

addEventHandler("onPlayerUnmute", root, 
function() 
    local acc = getPlayerAccount(source) 
    if acc and not isGuestAccount(acc) then 
        if isObjectInACLGroup("user."..getAccountName(acc), aclGetGroup("Admin")) then 
            outputChatBox("هش", source, 255, 0, 0) 
            cancelEvent() 
        end 
    end 
end) 

Link to comment
خوووووووووووووخه

طيب لو ادمن فك ميوت نفسه وش تسوي ؟ ض1

addEventHandler("onPlayerUnmute", root, 
function() 
    local acc = getPlayerAccount(source) 
    if acc and not isGuestAccount(acc) then 
        if isObjectInACLGroup("user."..getAccountName(acc), aclGetGroup("Admin")) then 
            outputChatBox("هش", source, 255, 0, 0) 
            cancelEvent() 
        end 
    end 
end) 

كذا اي واحد تفته له اللوحه :mrgreen:

<< ملقوف :lol:

addEventHandler("onPlayerUnmute", root, 
function() 
    local acc = getPlayerAccount(source) 
    if acc and not isGuestAccount(acc) then 
        if hasObjectPermissionTo(source, "general.adminpanel",true) then 
            outputChatBox("هش", source, 255, 0, 0) 
            cancelEvent() 
        end 
    end 
end) 
Link to comment
خوووووووووووووخه

طيب لو ادمن فك ميوت نفسه وش تسوي ؟ ض1

addEventHandler("onPlayerUnmute", root, 
function() 
    local acc = getPlayerAccount(source) 
    if acc and not isGuestAccount(acc) then 
        if isObjectInACLGroup("user."..getAccountName(acc), aclGetGroup("Admin")) then 
            outputChatBox("هش", source, 255, 0, 0) 
            cancelEvent() 
        end 
    end 
end) 

ي عيني بس :lol: ع التفكير :lol:

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