Jump to content

شيئ بسيط # ^


Recommended Posts

كنت فإضي قلت آسويه لك

-- # Server Side Only !  
  
-- # Settings  
  
local Tables = {'Console','Admin'} -- هنإ القروبات الي تبيها يوم يكتب بالشات يطلع الصوت  
NumberSound = 33  
  
-- # Code By iMr_Om4r 
  
addEventHandler('onPlayerChat',root, function (msg) 
for i,v in ipairs ( Tables ) do  
if ( not isGuestAccount ( getPlayerAccount ( source ) ) ) then  
if ( isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(source)),aclGetGroup(v)) ) then 
playSoundFrontEnd ( root , NumberSound ) 
                                end 
                    end 
        end 
end 
) 
  
Link to comment

اخي مافهمت كل اللي اريده اغير صوت الكتابة في الكود ذا

-- # Server Side Only !

-- # Settings

local Tables = {'Console','Admin'} -- هنإ القروبات الي تبيها يوم يكتب بالشات يطلع الصوت

NumberSound = 33

-- # Code By iMr_Om4r

addEventHandler('onPlayerChat',root, function (msg)

for i,v in ipairs ( Tables ) do

if ( not isGuestAccount ( getPlayerAccount ( source ) ) ) then

if ( isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(source)),aclGetGroup(v)) ) then

playSoundFrontEnd ( root , NumberSound )

end

end

end

end

)

Link to comment
اخي مافهمت كل اللي اريده اغير صوت الكتابة في الكود ذا

-- # Server Side Only ! 
  
-- # Settings 
  
local Tables = {'Console','Admin'} -- هنإ القروبات الي تبيها يوم يكتب بالشات يطلع الصوت 
NumberSound = 33 
-- # Code By iMr_Om4r 
  
addEventHandler('onPlayerChat',root, function (msg) 
for i,v in ipairs ( Tables ) do 
if ( not isGuestAccount ( getPlayerAccount ( source ) ) ) then 
if ( isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(source)),aclGetGroup(v)) ) then 
playSoundFrontEnd ( root , NumberSound ) 
                                end 
                    end 
        end 
end 
) 

NumberSound = 33

غير 33

للصوت الي تباه

  • --#Sounds
    0 - 20 Selection sounds
    27 - 30 Bullet sounds
    32 - 33 Selection sounds
    34 Radio static
    35 Stop Radio static
    37 - 38 Tick
    40 Selection sounds
    41 - 42 Tick (no ammo)
    43 - 45 Race countdown
    46 Repair
    47 White noise static
    48 Stop White noise static
    49 Static short
    101 Countdown/selection
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...