AmrOMohamed Posted December 21, 2015 Posted December 21, 2015 دلوقتي اريد لما الكونسول او سيرفر اونر يكتب في شات يعمل صوت زي صوت شريط العاجل او كذا كيف يمكنني ؟
iPrestege Posted December 21, 2015 Posted December 21, 2015 وش قصدك بالصوت يعني كل مرة يكتب يطلع صوت مثلاً خفيف في كل رسالة؟ ولا ايش مافهمت عليك .
Me[Z]oO Posted December 21, 2015 Posted December 21, 2015 دلوقتي اريد لما الكونسول او سيرفر اونر يكتب في شات يعمل صوت زي صوت شريط العاجل او كذا كيف يمكنني ؟ playSound Skype :- mezo.prince1 FaceBook :- https://www.facebook.com/medolua YouTube :- http://www.youtube.com/c/MeZoOPriNse
#StrOnG_,) Posted December 21, 2015 Posted December 21, 2015 دلوقتي اريد لما الكونسول او سيرفر اونر يكتب في شات يعمل صوت زي صوت شريط العاجل او كذا كيف يمكنني ؟ 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 W_#9661
iPrestege Posted December 21, 2015 Posted December 21, 2015 'onPlayerChat' getPlayerAccount getAccountName isObjectInACLGroup playSound or playSoundFrontEnd -- عند استخدام playSound + isElement destroyElement
iMr.Omar Posted December 22, 2015 Posted December 22, 2015 كنت فإضي قلت آسويه لك -- # 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%
#StrOnG_,) Posted December 22, 2015 Posted December 22, 2015 كيف اغير صوت عند الكتابة ؟ 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 W_#9661
AmrOMohamed Posted December 22, 2015 Author Posted December 22, 2015 مفي ارقام في الـ wiki عشان اغير صوت موجود في لو رفعت موسيقي فقط
iPrestege Posted December 22, 2015 Posted December 22, 2015 بالنسبة للوظيفة هذي محتكرة ارقام الويكي القيم الموجودة فية فقط استخدم playSound isElement destroyElement
AmrOMohamed Posted December 22, 2015 Author Posted December 22, 2015 اخي مافهمت كل اللي اريده اغير صوت الكتابة في الكود ذا -- # 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 )
iMr.Omar Posted December 22, 2015 Posted December 22, 2015 اذا يبي الصوت هو يضيفه triggerClientEvent Skype : live:omarnone Lua Scripting : 39%
SycroX Posted December 22, 2015 Posted December 22, 2015 اخي مافهمت كل اللي اريده اغير صوت الكتابة في الكود ذا -- # 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 للصوت الي تباه --#Sounds0 - 20 Selection sounds27 - 30 Bullet sounds32 - 33 Selection sounds34 Radio static35 Stop Radio static37 - 38 Tick40 Selection sounds41 - 42 Tick (no ammo)43 - 45 Race countdown46 Repair47 White noise static48 Stop White noise static49 Static short101 Countdown/selection Chillin' with some demons, satans and vamps
iMr.Omar Posted December 23, 2015 Posted December 23, 2015 You Are Welcome ... Skype : live:omarnone Lua Scripting : 39%
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now