Jump to content

شيئ بسيط # ^


Recommended Posts

Posted
دلوقتي اريد لما الكونسول او سيرفر اونر

يكتب في شات يعمل صوت زي صوت شريط العاجل او كذا كيف يمكنني ؟

Event

onPlayerChat 

--------------------------

Function

playSound 

Quote

"I ain't saying I'm the best, but I should be in the top ten; give me a list of names, I'ma top them,
I'm just playing with ya. I don't care where the top is,
Leave me at the bottom, let me work for it.
"

 

_________________________________________________________________________________________________________________

ACM

90183-bed46f22aafe8af7dc65cdd73fff2f76-medium_jpg.jpg?buster=1481325396W_#9661

Posted

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

-- # 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 
) 
  

Skype : live:omarnone

Lua Scripting : 39%

Posted
كيف اغير صوت عند الكتابة ؟
playSoundFrontEnd ( root , NumberSound ) 

هذا الكود تلقاه بالكودات الي عطاها لك عمر فوق ^

NumberSound = غيره الى رقم الصوت الي تبيه

Quote

"I ain't saying I'm the best, but I should be in the top ten; give me a list of names, I'ma top them,
I'm just playing with ya. I don't care where the top is,
Leave me at the bottom, let me work for it.
"

 

_________________________________________________________________________________________________________________

ACM

90183-bed46f22aafe8af7dc65cdd73fff2f76-medium_jpg.jpg?buster=1481325396W_#9661

Posted

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

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

)

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

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

Chillin' with some demons, satans and vamps

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