#1Topro Posted July 11, 2016 Author Share Posted July 11, 2016 أستعلمتها ! بس الصوت ما اجي وش اسوي ؟ Link to comment
#1Topro Posted July 11, 2016 Author Share Posted July 11, 2016 for I,v in ipairs ( getElementsByType("player") ) do playSoundFrontEnd ( root, 49 ) end ما يسوي صوت وش الحل ؟ Link to comment
Me[Z]oO Posted July 11, 2016 Share Posted July 11, 2016 سوي تريقر سيرفر بالتريقر حق السيرفر اعمل لوب لكل اللاعبين كذا مثلا for i,mz in ipairs (getElementsByType('player')) do triggerClientEvent(mz,'play',mz) بالتريقر حق الكلنت سوي تشغيل الصوت بس Link to comment
#1Topro Posted July 11, 2016 Author Share Posted July 11, 2016 تم عدلت الصوت شكرا باقي الخط http://b.top4top.net/p_191rtp91.png Link to comment
#|_oskar_|# Posted July 11, 2016 Share Posted July 11, 2016 مايحتاج تسوي ترايقر للصوت Link to comment
#1Topro Posted July 11, 2016 Author Share Posted July 11, 2016 مايحتاج تسوي ترايقر للصوت خلاص اانا حليتها واشتغل ! بس باقي الخط ! Link to comment
#|_oskar_|# Posted July 11, 2016 Share Posted July 11, 2016 function dxDrawFramedText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, frameColor, colorCoded ) color = color or tocolor ( 0, 0, 0, 50 ) frameColor = frameColor or tocolor ( 0, 0, 0, 255 ) scale = scale or 1.1 font = font or "default" alignX = alignX or "left" alignY = alignY or "top" clip = clip or false wordBreak = wordBreak or false postGUI = postGUI or false colorCoded = colorCoded or false text = message:gsub ( '#%x%x%x%x%x%x', '' ) dxDrawText (text, left + 1, top + 1, width + 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left + 1, top - 1, width + 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left - 1, top + 1, width - 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left - 1, top - 1, width - 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) end addEventHandler ( "onClientRender", root, function ( ) local data = getElementData ( resourceRoot, "3ajel" ) if ( data ) then local Name = tostring ( data[1] ) or "" local Message = tostring ( data[2] ) or "" dxDrawFramedText ( "* ".. Name ..": #FFFFFF".. Message, 14, 571, 766, 605, tocolor ( 255, 255, 255, 255 ), 1.00, "default- bold", "left", "top", false, false, false, false, true ) end end) bindKey ( "u", "down", "chatbox", "AM" ) Link to comment
#1Topro Posted July 11, 2016 Author Share Posted July 11, 2016 function dxDrawFramedText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, frameColor, colorCoded ) color = color or tocolor ( 0, 0, 0, 50 ) frameColor = frameColor or tocolor ( 0, 0, 0, 255 ) scale = scale or 1.1 font = font or "default" alignX = alignX or "left" alignY = alignY or "top" clip = clip or false wordBreak = wordBreak or false postGUI = postGUI or false colorCoded = colorCoded or false text = message:gsub ( '#%x%x%x%x%x%x', '' ) dxDrawText (text, left + 1, top + 1, width + 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left + 1, top - 1, width + 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left - 1, top + 1, width - 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left - 1, top - 1, width - 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) end addEventHandler ( "onClientRender", root, function ( ) local data = getElementData ( resourceRoot, "3ajel" ) if ( data ) then local Name = tostring ( data[1] ) or "" local Message = tostring ( data[2] ) or "" dxDrawFramedText ( "* ".. Name ..": #FFFFFF".. Message, 14, 571, 766, 605, tocolor ( 255, 255, 255, 255 ), 1.00, "default- bold", "left", "top", false, false, false, false, true ) end end) bindKey ( "u", "down", "chatbox", "AM" ) ما صار يظظهر اصلا Link to comment
AboShanab Posted July 11, 2016 Share Posted July 11, 2016 @ #1Topro : قمت بالتعديل على مشاركتي السابقة للكود لكي يتناسق مع طلبكـ . Link to comment
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