-
Posts
240 -
Joined
-
Last visited
Everything posted by mr.Extreme
-
مااا اشتغل بس الناقص اكواد سيرفر سيد
-
????? ما في رد
-
اسلام عليكم انا عندي سيرفر فريروم هذا الاكواد وظيفة لاعب لما ينزل سيارة بجانب الجدار او الباب الخ ....... يظهر رسالة Please find a clear location to spawn the vehicle. اما اذا كان هو مو عند الجدران او ابواب ينزل سيارة client side : local vehicleWidth = { [400] = 3.03, [401] = 3.30, [402] = 2.90, [403] = 5.30, [404] = 3.21, [405] = 3.37, [406] = 6.60, [407] = 4.89, [408] = 5.90, [409] = 4.36, [410] = 2.89, [411] = 2.69, [412] = 3.97, [413] = 3.34, [414] = 3.99, [415] = 3.04, [416] = 4.42, [417] = 16.01, [418] = 3.32, [419] = 3.45, [420] = 3.30, [421] = 3.53, [422] = 3.11, [423] = 3.60, [424] = 2.44, [425] = 9.84, [426] = 3.29, [427] = 4.48, [428] = 3.73, [429] = 2.91, [430] = 6.59, [431] = 6.66, [432] = 7.17, [433] = 5.51, [434] = 2.69, [435] = 7.33, [436] = 3.11, [437] = 6.40, [438] = 3.37, [439] = 3.04, [440] = 3.29, [441] = 2.00, [442] = 3.71, [443] = 10.38, [444] = 3.85, [445] = 3.30, [446] = 6.73, [447] = 7.58, [448] = 1.33, [449] = 5.29, [450] = 7.17, [451] = 3.06, [452] = 5.92, [453] = 6.02, [454] = 9.70, [455] = 5.35, [456] = 5.18, [457] = 2.10, [458] = 3.44, [459] = 3.27, [460] = 8.94, [461] = 1.44, [462] = 1.33, [463] = 1.40, [464] = 1.25, [465] = 0.94, [466] = 3.45, [467] = 3.53, [468] = 1.39, [469] = 7.58, [470] = 3.24, [471] = 1.49, [472] = 4.58, [473] = 2.61, [474] = 3.37, [475] = 3.26, [476] = 8.19, [477] = 3.36, [478] = 3.23, [479] = 3.39, [480] = 2.83, [481] = 1.17, [482] = 3.33, [483] = 3.44, [484] = 9.92, [485] = 2.37, [486] = 4.67, [487] = 7.71, [488] = 6.53, [489] = 3.38, [490] = 3.93, [491] = 3.00, [492] = 2.84, [493] = 6.79, [494] = 3.57, [495] = 3.22, [496] = 2.65, [497] = 7.71, [498] = 4.19, [499] = 3.99, [500] = 2.90, [501] = 0.94, [502] = 3.35, [503] = 3.40, [504] = 3.39, [505] = 3.38, [506] = 2.94, [507] = 3.60, [508] = 4.62, [509] = 1.21, [510] = 1.13, [511] = 15.03, [512] = 6.58, [513] = 6.51, [514] = 5.55, [515] = 5.68, [516] = 3.49, [517] = 3.51, [518] = 3.33, [519] = 13.87, [520] = 8.61, [521] = 1.44, [522] = 1.44, [523] = 1.44, [524] = 5.08, [525] = 3.94, [526] = 2.98, [527] = 3.14, [528] = 3.28, [529] = 3.15, [530] = 2.63, [531] = 2.31, [532] = 7.38, [533] = 2.53, [534] = 3.40, [535] = 3.15, [536] = 3.54, [537] = 11.06, [538] = 8.26, [539] = 2.61, [540] = 3.44, [541] = 2.79, [542] = 3.53, [543] = 3.24, [544] = 6.73, [545] = 2.80, [546] = 3.30, [547] = 3.28, [548] = 12.72, [549] = 3.14, [550] = 3.34, [551] = 2.86, [552] = 4.02, [553] = 18.92, [554] = 3.57, [555] = 2.84, [556] = 3.85, [557] = 3.85, [558] = 2.94, [559] = 3.05, [560] = 3.05, [561] = 3.28, [562] = 2.98, [563] = 9.65, [564] = 0.93, [565] = 2.72, [566] = 3.58, [567] = 3.71, [568] = 2.75, [569] = 9.41, [570] = 9.41, [571] = 1.61, [572] = 1.75, [573] = 4.15, [574] = 2.43, [575] = 3.26, [576] = 3.48, [577] = 45.08, [578] = 6.35, [579] = 3.31, [580] = 3.35, [581] = 1.46, [582] = 3.98, [583] = 2.52, [584] = 8.24, [585] = 3.56, [586] = 1.56, [587] = 3.24, [588] = 5.52, [589] = 2.98, [590] = 9.67, [591] = 7.38, [592] = 36.34, [593] = 9.36, [594] = 0.58, [595] = 6.34, [596] = 3.30, [597] = 3.31, [598] = 3.25, [599] = 3.57, [600] = 3.35, [601] = 4.56, [602] = 3.14, [603] = 3.38, [604] = 3.45, [605] = 3.24, [606] = 2.46, [607] = 2.43, [608] = 4.01, [609] = 4.17, [610] = 1.59, [611] = 2.11, } function isTheLineClear(vx, vy, vz, vehID, vrot) local width = vehicleWidth[vehID] or 3 local px,py,pz = getElementPosition(source) if isLineOfSightClear(px,py,pz+1,vx+width,vy+width,vz+1) and isLineOfSightClear(px,py,pz+1,vx+width,vy-width,vz+1) and isLineOfSightClear(px,py,pz+1,vx-width,vy-width,vz+1) and isLineOfSightClear(px,py,pz+1,vx-width,vy+width,vz+1) then triggerServerEvent("onPlayerVehicleCreate", source, vx, vy, vz, vehID, vrot) else errMsg('Please find a clear location to spawn the vehicle.') end end addEvent("onClientLineCheck", true) addEventHandler("onClientLineCheck", getRootElement(), isTheLineClear) طبعا ناقص اكواد في سيرفر سيد server side: وهذا علشان منع الهكر في سيرفر وشكرا علي مساعدة
-
hello i want help i want call trigger in server local vehicleWidth = { [400] = 3.03, [401] = 3.30, [402] = 2.90, [403] = 5.30, [404] = 3.21, [405] = 3.37, [406] = 6.60, [407] = 4.89, [408] = 5.90, [409] = 4.36, [410] = 2.89, [411] = 2.69, [412] = 3.97, [413] = 3.34, [414] = 3.99, [415] = 3.04, [416] = 4.42, [417] = 16.01, [418] = 3.32, [419] = 3.45, [420] = 3.30, [421] = 3.53, [422] = 3.11, [423] = 3.60, [424] = 2.44, [425] = 9.84, [426] = 3.29, [427] = 4.48, [428] = 3.73, [429] = 2.91, [430] = 6.59, [431] = 6.66, [432] = 7.17, [433] = 5.51, [434] = 2.69, [435] = 7.33, [436] = 3.11, [437] = 6.40, [438] = 3.37, [439] = 3.04, [440] = 3.29, [441] = 2.00, [442] = 3.71, [443] = 10.38, [444] = 3.85, [445] = 3.30, [446] = 6.73, [447] = 7.58, [448] = 1.33, [449] = 5.29, [450] = 7.17, [451] = 3.06, [452] = 5.92, [453] = 6.02, [454] = 9.70, [455] = 5.35, [456] = 5.18, [457] = 2.10, [458] = 3.44, [459] = 3.27, [460] = 8.94, [461] = 1.44, [462] = 1.33, [463] = 1.40, [464] = 1.25, [465] = 0.94, [466] = 3.45, [467] = 3.53, [468] = 1.39, [469] = 7.58, [470] = 3.24, [471] = 1.49, [472] = 4.58, [473] = 2.61, [474] = 3.37, [475] = 3.26, [476] = 8.19, [477] = 3.36, [478] = 3.23, [479] = 3.39, [480] = 2.83, [481] = 1.17, [482] = 3.33, [483] = 3.44, [484] = 9.92, [485] = 2.37, [486] = 4.67, [487] = 7.71, [488] = 6.53, [489] = 3.38, [490] = 3.93, [491] = 3.00, [492] = 2.84, [493] = 6.79, [494] = 3.57, [495] = 3.22, [496] = 2.65, [497] = 7.71, [498] = 4.19, [499] = 3.99, [500] = 2.90, [501] = 0.94, [502] = 3.35, [503] = 3.40, [504] = 3.39, [505] = 3.38, [506] = 2.94, [507] = 3.60, [508] = 4.62, [509] = 1.21, [510] = 1.13, [511] = 15.03, [512] = 6.58, [513] = 6.51, [514] = 5.55, [515] = 5.68, [516] = 3.49, [517] = 3.51, [518] = 3.33, [519] = 13.87, [520] = 8.61, [521] = 1.44, [522] = 1.44, [523] = 1.44, [524] = 5.08, [525] = 3.94, [526] = 2.98, [527] = 3.14, [528] = 3.28, [529] = 3.15, [530] = 2.63, [531] = 2.31, [532] = 7.38, [533] = 2.53, [534] = 3.40, [535] = 3.15, [536] = 3.54, [537] = 11.06, [538] = 8.26, [539] = 2.61, [540] = 3.44, [541] = 2.79, [542] = 3.53, [543] = 3.24, [544] = 6.73, [545] = 2.80, [546] = 3.30, [547] = 3.28, [548] = 12.72, [549] = 3.14, [550] = 3.34, [551] = 2.86, [552] = 4.02, [553] = 18.92, [554] = 3.57, [555] = 2.84, [556] = 3.85, [557] = 3.85, [558] = 2.94, [559] = 3.05, [560] = 3.05, [561] = 3.28, [562] = 2.98, [563] = 9.65, [564] = 0.93, [565] = 2.72, [566] = 3.58, [567] = 3.71, [568] = 2.75, [569] = 9.41, [570] = 9.41, [571] = 1.61, [572] = 1.75, [573] = 4.15, [574] = 2.43, [575] = 3.26, [576] = 3.48, [577] = 45.08, [578] = 6.35, [579] = 3.31, [580] = 3.35, [581] = 1.46, [582] = 3.98, [583] = 2.52, [584] = 8.24, [585] = 3.56, [586] = 1.56, [587] = 3.24, [588] = 5.52, [589] = 2.98, [590] = 9.67, [591] = 7.38, [592] = 36.34, [593] = 9.36, [594] = 0.58, [595] = 6.34, [596] = 3.30, [597] = 3.31, [598] = 3.25, [599] = 3.57, [600] = 3.35, [601] = 4.56, [602] = 3.14, [603] = 3.38, [604] = 3.45, [605] = 3.24, [606] = 2.46, [607] = 2.43, [608] = 4.01, [609] = 4.17, [610] = 1.59, [611] = 2.11, } function isTheLineClear(vx, vy, vz, vehID, vrot) local width = vehicleWidth[vehID] or 3 local px,py,pz = getElementPosition(source) if isLineOfSightClear(px,py,pz+1,vx+width,vy+width,vz+1) and isLineOfSightClear(px,py,pz+1,vx+width,vy-width,vz+1) and isLineOfSightClear(px,py,pz+1,vx-width,vy-width,vz+1) and isLineOfSightClear(px,py,pz+1,vx-width,vy+width,vz+1) then triggerServerEvent("onPlayerVehicleCreate", source, vx, vy, vz, vehID, vrot) else errMsg('Please find a clear location to spawn the vehicle.') end end addEvent("onClientLineCheck", true) addEventHandler("onClientLineCheck", getRootElement(), isTheLineClear) and thanks for help
-
تفضل حبيبي function Countdown (player, cmd) if not countdownTimer then countdownTimer = true setTimer(function () countdownTimer = false end, 10000, 1) local name = getPlayerName(player) local r,g,b = getPlayerNametagColor (player) outputChatBox ( "" .. name .. ": #2600FF start countdown!!!", getRootElement(), r, g, b, true ) outputChatBox ( "#2600FF ===3===", getRootElement(), 255, 255, 255, true ) triggerClientEvent("triggerclientforGridCountdown", getRootElement()) setTimer ( Countdown5, 1000, 1 ) else outputChatBox("#FF0000Please wait at least 10 seconds before start countdown.", getRootElement(), 255, 255, 255, true) end end function Countdown5 ( root ) outputChatBox ( "#2600FF ===2===", getRootElement(), 255, 255, 255, true ) setTimer ( Countdown4, 1000, 1 ) end function Countdown4 ( root ) outputChatBox ( "#2600FF ===1===", getRootElement(), 255, 255, 255, true ) setTimer ( Countdown3, 1000, 1 ) end function Countdown3 ( root ) outputChatBox ( "#2600FF Go Go Go!!!", getRootElement(), 255, 255, 255, true ) setTimer ( Countdown2, 1000, 1 ) end addCommandHandler( "countdown", Countdown )
-
بس اهم شيء يحفظ انجليزي علشان يعرف يقرأ من ويكي
-
صح كلامكم انا بديت اتعلم لحالي من الويكي :D
-
انا سويت مثلك من زمان بس انا بدي يكون اسماء دول في سكووور
-
ههههههه ولك شوف وش هذا exports.killmessages:outputMessage("* #FFFF00[ ".. getPlayerName(source) .." #FFFF00] #6E6A6BHas Joined The Server From #FF8900[" .. thecountry .. "]" ,
-
انا ابية في سكور مو من killmessage
-
ما ادري هذا اخذتة من هنا https://forum.multitheftauto.com/viewtopic.php?f ... ry#p599033
-
اسلام عليكم انا بدي اخلي اسماء دول في سكور countryNames = { ['AD'] = 'Andorra', ['AE'] = 'United Arab Emirates', ['AF'] = 'Afghanistan', ['AG'] = 'Antigua & Barbuda', ['AI'] = 'Anguilla', ['AL'] = 'Albania', ['AM'] = 'Armenia', ['AN'] = 'Netherlands Antilles', ['AO'] = 'Angola', ['AQ'] = 'Antarctica', ['AR'] = 'Argentina', ['AS'] = 'American Samoa', ['AT'] = 'Austria', ['AU'] = 'Australia', ['AW'] = 'Aruba', ['AZ'] = 'Azerbaijan', ['BA'] = 'Bosnia and Herzegovina', ['BB'] = 'Barbados', ['BD'] = 'Bangladesh', ['BE'] = 'Belgium', ['BF'] = 'Burkina Faso', ['BG'] = 'Bulgaria', ['BH'] = 'Bahrain', ['BI'] = 'Burundi', ['BJ'] = 'Benin', ['BM'] = 'Bermuda', ['BN'] = 'Brunei Darussalam', ['BO'] = 'Bolivia', ['BR'] = 'Brazil', ['BS'] = 'Bahama', ['BT'] = 'Bhutan', ['BU'] = 'Burma', ['BV'] = 'Bouvet Island', ['BW'] = 'Botswana', ['BY'] = 'Belarus', ['BZ'] = 'Belize', ['CA'] = 'Canada', ['CC'] = 'Cocos (Keeling) Islands', ['CF'] = 'Central African Republic', ['CG'] = 'Congo', ['CH'] = 'Switzerland', ['CI'] = "C“te D'ivoire (Ivory Coast)", ['CK'] = 'Cook Iislands', ['CL'] = 'Chile', ['CM'] = 'Cameroon', ['CN'] = 'China', ['CO'] = 'Colombia', ['CR'] = 'Costa Rica', ['CS'] = 'Czechoslovakia', ['CU'] = 'Cuba', ['CV'] = 'Cape Verde', ['CX'] = 'Christmas Island', ['CY'] = 'Cyprus', ['CZ'] = 'Czech Republic', ['DD'] = 'German Democratic Republic', ['DE'] = 'Germany', ['DJ'] = 'Djibouti', ['DK'] = 'Denmark', ['DM'] = 'Dominica', ['DO'] = 'Dominican Republic', ['DZ'] = 'Algeria', ['EC'] = 'Ecuador', ['EE'] = 'Estonia', ['EG'] = 'Egypt', ['EH'] = 'Western Sahara', ['ER'] = 'Eritrea', ['ES'] = 'Spain', ['ET'] = 'Ethiopia', ['FI'] = 'Finland', ['FJ'] = 'Fiji', ['FK'] = 'Falkland Islands (Malvinas)', ['FM'] = 'Micronesia', ['FO'] = 'Faroe Islands', ['FR'] = 'France', ['FX'] = '"France, Metropolitan"', ['GA'] = 'Gabon', ['GB'] = 'United Kingdom (Great Britain)', ['GD'] = 'Grenada', ['GE'] = 'Georgia', ['GF'] = 'French Guiana', ['GH'] = 'Ghana', ['GI'] = 'Gibraltar', ['GL'] = 'Greenland', ['GM'] = 'Gambia', ['GN'] = 'Guinea', ['GP'] = 'Guadeloupe', ['GQ'] = 'Equatorial Guinea', ['GR'] = 'Greece', ['GS'] = 'South Georgia and the South Sandwich Islands', ['GT'] = 'Guatemala', ['GU'] = 'Guam', ['GW'] = 'Guinea-Bissau', ['GY'] = 'Guyana', ['HK'] = 'Hong Kong', ['HM'] = 'Heard & McDonald Islands', ['HN'] = 'Honduras', ['HR'] = 'Croatia', ['HT'] = 'Haiti', ['HU'] = 'Hungary', ['ID'] = 'Indonesia', ['IE'] = 'Ireland', ['IL'] = 'Israel', ['IN'] = 'India', ['IO'] = 'British Indian Ocean Territory', ['IQ'] = 'Iraq', ['IR'] = 'Islamic Republic of Iran', ['IS'] = 'Iceland', ['IT'] = 'Italy', ['JM'] = 'Jamaica', ['JO'] = 'Jordan', ['JP'] = 'Japan', ['KE'] = 'Kenya', ['KG'] = 'Kyrgyzstan', ['KH'] = 'Cambodia', ['KI'] = 'Kiribati', ['KM'] = 'Comoros', ['KN'] = 'St. Kitts and Nevis', ['KP'] = "Korea, Democratic People's Republic of'", ['KR'] = '"Korea, Republic of"', ['KW'] = 'Kuwait', ['KY'] = 'Cayman Islands', ['KZ'] = 'Kazakhstan', ['LA'] = "Lao People's Democratic Republic", ['LB'] = 'Lebanon', ['LC'] = 'Saint Lucia', ['LI'] = 'Liechtenstein', ['LK'] = 'Sri Lanka', ['LR'] = 'Liberia', ['LS'] = 'Lesotho', ['LT'] = 'Lithuania', ['LU'] = 'Luxembourg', ['LV'] = 'Latvia', ['LY'] = 'Libyan Arab Jamahiriya', ['MA'] = 'Morocco', ['MC'] = 'Monaco', ['MD'] = '"Moldova, Republic of"', ['MG'] = 'Madagascar', ['MH'] = 'Marshall Islands', ['ML'] = 'Mali', ['MM'] = 'Myanmar', ['MN'] = 'Mongolia', ['MO'] = 'Macau', ['MP'] = 'Northern Mariana Islands', ['MQ'] = 'Martinique', ['MR'] = 'Mauritania', ['MS'] = 'Monserrat', ['MT'] = 'Malta', ['MU'] = 'Mauritius', ['MV'] = 'Maldives', ['MW'] = 'Malawi', ['MX'] = 'Mexico', ['MY'] = 'Malaysia', ['MZ'] = 'Mozambique', ['NA'] = 'Nambia', ['NC'] = 'New Caledonia', ['NE'] = 'Niger', ['NF'] = 'Norfolk Island', ['NG'] = 'Nigeria', ['NI'] = 'Nicaragua', ['NL'] = 'Netherlands', ['NO'] = 'Norway', ['NP'] = 'Nepal', ['NR'] = 'Nauru', ['NT'] = 'Neutral Zone', ['NU'] = 'Niue', ['NZ'] = 'New Zealand', ['OM'] = 'Oman', ['PA'] = 'Panama', ['PE'] = 'Peru', ['PF'] = 'French Polynesia', ['PG'] = 'Papua New Guinea', ['PH'] = 'Philippines', ['PK'] = 'Pakistan', ['PL'] = 'Poland', ['PM'] = 'St. Pierre & Miquelon', ['PN'] = 'Pitcairn', ['PR'] = 'Puerto Rico', ['PT'] = 'Portugal', ['PW'] = 'Palau', ['PY'] = 'Paraguay', ['QA'] = 'Qatar', ['RE'] = 'R‚union', ['RO'] = 'Romania', ['RU'] = 'Russian Federation', ['RW'] = 'Rwanda', ['SA'] = 'Saudi Arabia', ['SB'] = 'Solomon Islands', ['SC'] = 'Seychelles', ['SD'] = 'Sudan', ['SE'] = 'Sweden', ['SG'] = 'Singapore', ['SH'] = 'St. Helena', ['SI'] = 'Slovenia', ['SJ'] = 'Svalbard & Jan Mayen Islands', ['SK'] = 'Slovakia', ['SL'] = 'Sierra Leone', ['SM'] = 'San Marino', ['SN'] = 'Senegal', ['SO'] = 'Somalia', ['SR'] = 'Suriname', ['ST'] = 'Sao Tome & Principe', ['SU'] = 'Union of Soviet Socialist Republics (no longer exi', ['SV'] = 'El Salvador', ['SY'] = 'Syrian Arab Republic', ['SZ'] = 'Swaziland', ['TC'] = 'Turks & Caicos Islands', ['TD'] = 'Chad', ['TF'] = 'French Southern Territories', ['TG'] = 'Togo', ['TH'] = 'Thailand', ['TJ'] = 'Tajikistan', ['TK'] = 'Tokelau', ['TM'] = 'Turkmenistan', ['TN'] = 'Tunisia', ['TO'] = 'Tonga', ['TP'] = 'East Timor', ['TR'] = 'Turkey', ['TT'] = 'Trinidad & Tobago', ['TV'] = 'Tuvalu', ['TW'] = '"Taiwan, Province of China"', ['TZ'] = '"Tanzania, United Republic of"', ['UA'] = 'Ukraine', ['UG'] = 'Uganda', ['UM'] = 'United States Minor Outlying Islands', ['US'] = 'United States of America', ['UY'] = 'Uruguay', ['UZ'] = 'Uzbekistan', ['VA'] = 'Vatican City State (Holy See)', ['VC'] = 'St. Vincent & the Grenadines', ['VE'] = 'Venezuela', ['VG'] = 'British Virgin Islands', ['VI'] = 'United States Virgin Islands', ['VN'] = 'Viet Nam', ['VU'] = 'Vanuatu', ['WF'] = 'Wallis & Futuna Islands', ['WS'] = 'Samoa', ['YD'] = 'Democratic Yemen', ['YE'] = 'Yemen', ['YT'] = 'Mayotte', ['YU'] = 'Yugoslavia', ['ZA'] = 'South Africa', ['ZM'] = 'Zambia', ['ZR'] = 'Zaire', ['ZW'] = 'Zimbabwe', ['ZZ'] = 'Unknown' } addEventHandler("onPlayerJoin", getRootElement(), function()
-
when kick player From team what do player write in chat logout after login The player notes once again joined in the team-,-"
-
hello i have problem with mode save team when player join team i want kick player From team but i see player backing in the team i want don't player back in team how i can Fix this scrip the BUGS function setTeam() local account = getPlayerAccount(source) -- gets players account local team = getAccountData (account, "team") -- gets players team if (team) and getTeamFromName(team) then setPlayerTeam(source, getTeamFromName(team)) -- sets players team end end addEventHandler("onPlayerLogin", getRootElement(), setTeam ) -- sets players team on login function save() local team = getPlayerTeam(source) -- Gets the players team local account = getPlayerAccount(source) if (team) and not isGuestAccount(account) then -- Checks to see if the player is a guest or not setAccountData(account, "team", getTeamName(team)) --saves team end end addEventHandler("onPlayerQuit", getRootElement(), save) -- saves team on quit please answer my question
-
انت كتبها مرتين triggerClientEvent (getRootElement(),"sound", getRootElement()) getRootElement
-
مشكووووووووووووووووووور الله يعطيك العافية
-
يسلمووو علي كل شيء طيب بدي اخلية مسموح للادمن
-
تمام اشتغل طيب اخر شيء وين بدي احط هذا الكود local name = getPlayerName(source) local r,g,b = getPlayerNametagColor ( source ) outputChatBox ( "" .. name .. ": #2600FF start sound.", getRootElement(), r, g, b, true ) كمان مسموح للادمن يستعملة
-
اعطيك الكود كلنت و سيرفر وتشوف وش الحل وهذا كلنت function music() local sound = playSound("music/sound.mp3") setSoundVolume(sound, 50) setSoundMaxDistance( sound, 5000 ) triggerServerEvent("sound", getLocalPlayer()) end addCommandHandler("music.sound", music ) هذا سيرفر addEvent("sound", true) addEventHandler("sound", root, function () local name = getPlayerName(source) local r,g,b = getPlayerNametagColor ( source ) outputChatBox ( "" .. name .. ": #2600FF start sound.", getRootElement(), r, g, b, true ) end )