Jump to content

طلب مساعدة


Recommended Posts

ابحث عن الفنكشن واستبدل.

-- admin_server.lua 
function aSetPlayerMuted ( player, state, length, reason ) 
    if ( setPlayerMuted ( player, state ) ) then 
        if not state then 
            aRemoveUnmuteTimer( player ) 
        elseif state and length and length > 0 then 
            aAddUnmuteTimer( player, length ) 
            if string.len ( reason ) >= 2 then 
                setTimer ( outputChatBox, 80, 1, "Reason: " ..reason, root, 255, 0, 0 ) 
            end 
        end 
        triggerEvent ( "onPlayerMute", player, state ) 
        return true 
    end 
    return false 
end 

وهذا ضيف عليه أرقومنت السبب

aSetPlayerMuted ( player, not isPlayerMuted ( player ), seconds ) 

aSetPlayerMuted ( player, not isPlayerMuted ( player ), seconds, mdata ) 

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