-
Posts
21,935 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Castillo
-
Se usa la funcion removeWorldModel, pero no se puede borrar partes del mapa con el Map Editor.
-
Well, if there isn't that one, it means they've scripted it for their server, you'll have to do the same.
-
There's no need to use setElementDimension, default dimension is already 0.
-
You're welcome. Use setElementInterior to set a element interior.
-
You can search on this site: https://community.multitheftauto.com/ There we're some "war panels".
-
local mafiapickup3 = createMarker ( 1991.4399414063, 1018.1683959961, 994.890625, "cylinder", 2.0, 255, 255, 0, 170 ) function mafiamarker (hitElement, matchingDimension) local elementType = getElementType( hitElement ) if (elementType == "player") then setElementModel ( hitElement, 127 ) setPlayerTeam ( hitElement, teammaffia ) takeAllWeapons ( hitElement ) giveWeapon ( hitElement, 8, 1, true ) giveWeapon ( hitElement, 32, 9999, true ) giveWeapon ( hitElement, 16, 100, true ) giveWeapon ( hitElement, 24, 300, true ) setPedArmor ( hitElement, 0 ) end end addEventHandler( "onMarkerHit", mafiapickup3, mafiamarker ) Problems: 1: You added the event handler INSIDE the function, it has to go outside. 2: You we're using a invalid player argument. 3: setPedSkin is outdated, use setElementModel instead. 4: You forgot to check if the element type was a player.
-
As far as I know, the visibleDistance is not a problem as he didn't specify it.
-
Code seems fine, it should appear on mini map too.
-
addEvent("onPlayerRaceWasted",true) addEventHandler("onPlayerRaceWasted",root, function () if (#getAlivePlayers() <= 1) then outputChatBox(getPlayerName(source) .." has won this map!",root,0,255,0) end end )
-
You're welcome.
-
marker1 = createMarker(934, -1452, 14.5, "arrow", 1.5, 230, 251, 3, 153) marker2 = createMarker(934, -1452, 14.5, "arrow", 1.5, 230, 251, 3, 153) function teleport(player) if (source == marker1 and getElementType(player) == "player") then setElementPosition(player, -354.3, -3786.8000976563, 16.40000038147) setElementFrozen(player, false) setTimer(setElementFrozen, 1000, 1, player, false) elseif (source == marker2 and getElementType(player) == "player") then setElementPosition(player, -354.3, -3786.8000976563, 16.40000038147) setElementFrozen(player, false) setTimer(setElementFrozen, 1000, 1, player, false) end end addEventHandler("onMarkerHit", root, teleport) @Evil: You're trying to set position of a string? nice one.
-
Well, I don't know, I set countryCode to "AR" and I got this in chat:
-
addEventHandler("onClientResourceStart",resourceRoot, function () GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(145,63,519,494,"BKZ| Sistema de Musica",false) GUIEditor_Button[6] = guiCreateButton(0.738,0.8806,0.2447,0.1012,"CERRAR",true,GUIEditor_Window[1]) GUIEditor_TabPanel[1] = guiCreateTabPanel(0.0173,0.1781,0.9653,0.6842,true,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Regeton",GUIEditor_TabPanel[1]) GUIEditor_Button[2] = guiCreateButton(0.012,0.035,0.2315,0.1115,"Una vaina Loca",true,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(0.2675,0.0318,0.2515,0.121,"junto a ti",true,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(0.5429,0.0382,0.2495,0.1178,"Sexo sudor y calor",true,GUIEditor_Tab[1]) GUIEditor_Tab[2] = guiCreateTab("Musica en ingles",GUIEditor_TabPanel[1]) GUIEditor_Button[1] = guiCreateButton(0.022,0.0478,0.2415,0.1242,"pump it",true,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(0.2814,0.0478,0.2695,0.1274,"sexy bitch",true,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("bachata",GUIEditor_TabPanel[1]) GUIEditor_Button[7] = guiCreateButton(0.014,0.035,0.2435,0.1242,"romeo y julieta",true,GUIEditor_Tab[3]) GUIEditor_Button[8] = guiCreateButton(0.2814,0.0382,0.2455,0.1338,"Solo por un beso",true,GUIEditor_Tab[3]) GUIEditor_Button[9] = guiCreateButton(0.5569,0.0414,0.2475,0.1274,"enseñame a olvidar",true,GUIEditor_Tab[3]) GUIEditor_Image[1] = guiCreateStaticImage(0.1233,0.0668,0.7534,0.085,"images/shruk.png",true,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(0.0289,0.8846,0.4701,0.0911,"GUI Creada Por ElMota CopyRigth 2012 (c)",true,GUIEditor_Window[1]) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Button[10] = guiCreateButton(0.5164,0.8846,0.2062,0.0911,"Parar",true,GUIEditor_Window[1]) guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end ) bindKey("F1","down", function () guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end ) addEventHandler("onClientGUIClick", root, function () if ( source == GUIEditor_Button[1] ) then sound = playSound( "http://escapadehigh.com/Stuff/Pump.mp3", false ) elseif ( source == GUIEditor_Button[2] ) then sound = playSound( "http://tubefot.com/discografias/farruko/Fuego%20Ft.%20Farruko%20-%20Una%20Vaina%20Loca%20(Official%20Remix)%20%20([url=http://WWW.ELGENERO.COM]WWW.ELGENERO.COM[/url]).mp3", false ) elseif ( source == GUIEditor_Button[3] ) then sound = playSound( "http://spm77.free.fr/Music/David%20Guetta%20-%20One%20More%20Love%20(2010)%20-%20Dance/103-david_guetta_feat_akon-sexy_bitch.mp3", false ) elseif ( source == GUIEditor_Button[4] ) then sound = playSound( "http://mp3.hhgroups.com/descargar-tema/Shamanes%20Crew%20-%20Shamanes%20junto%20a%20ti%20-%20www.HHGroups.com.mp3", false ) elseif ( source == GUIEditor_Button[5] ) then sound = playSound( "http://dc437.4shared.com/img/1082416795/657d267e/dlink__2Fdownload_2FzqOaM5Nj_3Ftsid_3D00000000-000000-00000000/preview.mp3", false ) elseif ( source == GUIEditor_Button[6] ) then guiSetVisible(GUIEditor_Window[1], false) showCursor(false) elseif ( source == GUIEditor_Button[7] ) then sound = playSound( "http://dc142.4shared.com/img/112522884/d908b015/dlink__2Fdownload_2FzAAY2wbS_3Ftsid_3D00000000-000000-00000000/preview.mp3", false ) elseif ( source == GUIEditor_Button[8] ) then sound = playSound( "http://anneesommetique.top-depart.com/archive/audio/1/1/2/1198_.mp3", false ) elseif ( source == GUIEditor_Button[9] ) then sound = playSound( "http://dc180.4shared.com/img/409873282/75047a16/dlink__2Fdownload_2FywkHsAHE_3Ftsid_3D00000000-000000-00000000/preview.mp3", false ) elseif ( source == GUIEditor_Button[10] ) then if isElement(sound) then destroyElement(sound) end end end )
-
I don't know, it should work just fine. What part doesn't work? is your country name in scoreboard?
-
El problema de tu script es que estas poniendo todas las canciones a la vez, deberias destruir la que ya existe, podes hacerlo asi: if isElement(sound) then destroyElement(sound) Eso lo pones antes de playSound, tambien lo podes poner en un boton nuevo para destruir la cancion.
-
You have set the script as server side in meta.xml, right?
-
local ads = { "#00ff00Wanna help the server out? #ff0000Donate! at #00ffffwww.avh-mta.es.tl", "#00ff00Owner: #ff6600Soren & Majdy", "#00ff00Have you heared about #00fff0Alien vs Humans web page? #996600www.avh-mta.es.tl", "#00ff00Have new ideas for the server? #ff6600Post it in our web page #966009www.avh-mta.es.tl", } function sendAds () setTimer ( outputChatBox, 10000, 1, ads[math.random(#ads)], root, 255, 255, 255, true ) end
-
Which script have you tested? if you've tested mine, then copy it again.
-
addEventHandler("onClientResourceStart",resourceRoot, function () GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(145,63,519,494,"BKZ| Sistema de Musica",false) GUIEditor_Button[6] = guiCreateButton(0.738,0.8806,0.2447,0.1012,"CERRAR",true,GUIEditor_Window[1]) GUIEditor_TabPanel[1] = guiCreateTabPanel(0.0173,0.1781,0.9653,0.6842,true,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Regeton",GUIEditor_TabPanel[1]) GUIEditor_Button[2] = guiCreateButton(0.012,0.035,0.2315,0.1115,"Una vaina Loca",true,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(0.2675,0.0318,0.2515,0.121,"junto a ti",true,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(0.5429,0.0382,0.2495,0.1178,"Sexo sudor y calor",true,GUIEditor_Tab[1]) GUIEditor_Tab[2] = guiCreateTab("Musica en ingles",GUIEditor_TabPanel[1]) GUIEditor_Button[1] = guiCreateButton(0.022,0.0478,0.2415,0.1242,"pump it",true,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(0.2814,0.0478,0.2695,0.1274,"sexy bitch",true,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("bachata",GUIEditor_TabPanel[1]) GUIEditor_Button[7] = guiCreateButton(0.014,0.035,0.2435,0.1242,"romeo y julieta",true,GUIEditor_Tab[3]) GUIEditor_Button[8] = guiCreateButton(0.2814,0.0382,0.2455,0.1338,"Solo por un beso",true,GUIEditor_Tab[3]) GUIEditor_Button[9] = guiCreateButton(0.5569,0.0414,0.2475,0.1274,"enseñame a olvidar",true,GUIEditor_Tab[3]) GUIEditor_Image[1] = guiCreateStaticImage(0.1233,0.0668,0.7534,0.085,"images/shruk.png",true,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(0.0289,0.8846,0.6493,0.0911,"GUI Creada Por ElMota CopyRigth 2012 (c)",true,GUIEditor_Window[1]) guiSetFont(GUIEditor_Label[1],"clear-normal") guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end ) bindKey("F1","down", function () guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end ) addEventHandler("onClientGUIClick", root, function () if ( source == GUIEditor_Button[1] ) then sound = playSound( "http://escapadehigh.com/Stuff/Pump.mp3", false ) elseif ( source == GUIEditor_Button[2] ) then sound = playSound( "http://tubefot.com/discografias/farruko/Fuego%20Ft.%20Farruko%20-%20Una%20Vaina%20Loca%20(Official%20Remix)%20%20([url=http://WWW.ELGENERO.COM]WWW.ELGENERO.COM[/url]).mp3", false ) elseif ( source == GUIEditor_Button[3] ) then sound = playSound( "http://spm77.free.fr/Music/David%20Guetta%20-%20One%20More%20Love%20(2010)%20-%20Dance/103-david_guetta_feat_akon-sexy_bitch.mp3", false ) elseif ( source == GUIEditor_Button[4] ) then sound = playSound( "http://mp3.hhgroups.com/descargar-tema/Shamanes%20Crew%20-%20Shamanes%20junto%20a%20ti%20-%20www.HHGroups.com.mp3", false ) elseif ( source == GUIEditor_Button[5] ) then sound = playSound( "http://dc437.4shared.com/img/1082416795/657d267e/dlink__2Fdownload_2FzqOaM5Nj_3Ftsid_3D00000000-000000-00000000/preview.mp3", false ) elseif ( source == GUIEditor_Button[6] ) then guiSetVisible(GUIEditor_Window[1], false) showCursor(false) elseif ( source == GUIEditor_Button[7] ) then sound = playSound( "http://dc142.4shared.com/img/112522884/d908b015/dlink__2Fdownload_2FzAAY2wbS_3Ftsid_3D00000000-000000-00000000/preview.mp3", false ) elseif ( source == GUIEditor_Button[8] ) then sound = playSound( "http://anneesommetique.top-depart.com/archive/audio/1/1/2/1198_.mp3", false ) elseif ( source == GUIEditor_Button[9] ) then sound = playSound( "http://dc180.4shared.com/img/409873282/75047a16/dlink__2Fdownload_2FywkHsAHE_3Ftsid_3D00000000-000000-00000000/preview.mp3", false ) end end ) Te olvidaste de "function ()" despues de: addEventHandler("onClientResourceStart",resourceRoot,
-
Try using this: _getPlayerName
-
Are you using this function in race? because race removed HEX colors from getPlayerName.
-
exports.scoreboard:addScoreboardColumn('Country') countryNames = { ['AD'] = 'Andorra', ['AE'] = 'United Arab Emirates', ['AF'] = 'Afghanistan', ['AG'] = 'Antigua and Barbuda', ['AI'] = 'Anguilla', ['AL'] = 'Albania', ['AM'] = 'Armenia', ['AO'] = 'Angola', ['AP'] = 'ARIPO', ['AR'] = 'Argentina', ['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', ['BQ'] = 'Bonaire', ['BR'] = 'Brazil', ['BS'] = 'Bahamas', ['BT'] = 'Bhutan', ['BV'] = 'Bouvet Island', ['BW'] = 'Botswana', ['BY'] = 'Belarus', ['BZ'] = 'Belize', ['CA'] = 'Canada', ['CD'] = 'Congo', ['CF'] = 'Central African Republic', ['CG'] = 'Congo', ['CH'] = 'Switzerland', ['CI'] = 'Cote d?Ivoire', ['CK'] = 'Cook Islands', ['CL'] = 'Chile', ['CM'] = 'Cameroon', ['CN'] = 'China', ['CO'] = 'Colombia', ['CR'] = 'Costa Rica', ['CU'] = 'Cuba', ['CV'] = 'Cape Verde', ['CW'] = 'Curacao', ['CY'] = 'Cyprus', ['CZ'] = 'Czech 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'] = 'Malvinas', ['FO'] = 'Faroe Islands', ['FR'] = 'France', ['GA'] = 'Gabon', ['GB'] = 'United Kingdom', ['GD'] = 'Grenada', ['GE'] = 'Georgia', ['GG'] = 'Guernsey', ['GH'] = 'Ghana', ['GI'] = 'Gibraltar', ['GL'] = 'Greenland', ['GM'] = 'Gambia', ['GN'] = 'Guinea', ['GQ'] = 'Equatorial Guinea', ['GR'] = 'Greece', ['GT'] = 'Guatemala', ['GW'] = 'Guinea-Bissau', ['GY'] = 'Guyana', ['HN'] = 'Honduras', ['HR'] = 'Croatia', ['HT'] = 'Haiti', ['HU'] = 'Hungary', ['ID'] = 'Indonesia', ['IE'] = 'Ireland', ['IL'] = 'Israel', ['IM'] = 'Isle of Man', ['IN'] = 'India', ['IQ'] = 'Iraq', ['IR'] = 'Iran', ['IS'] = 'Iceland', ['IT'] = 'Italy', ['JE'] = 'Jersey', ['JM'] = 'Jamaica', ['JO'] = 'Jordan', ['JP'] = 'Japan', ['KE'] = 'Kenya', ['KG'] = 'Kyrgyzstan', ['KH'] = 'Cambodia', ['KI'] = 'Kiribati', ['KM'] = 'Comoros', ['KN'] = 'Saint Kitts and Nevis', ['KP'] = 'Korea', ['KR'] = 'Korea', ['KW'] = 'Kuwait', ['KY'] = 'Cayman Islands', ['KZ'] = 'Kazakhstan', ['LA'] = 'Lao People?s 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', ['ME'] = 'Montenegro', ['MG'] = 'Madagascar', ['MK'] = 'Macedonia', ['ML'] = 'Mali', ['MM'] = 'Myanmar', ['MN'] = 'Mongolia', ['MO'] = 'Macao', ['MP'] = 'Northern Mariana Islands', ['MR'] = 'Mauritania', ['MS'] = 'Montserrat', ['MT'] = 'Malta', ['MU'] = 'Mauritius', ['MV'] = 'Maldives', ['MW'] = 'Malawi', ['MX'] = 'Mexico', ['MY'] = 'Malaysia', ['MZ'] = 'Mozambique', ['NA'] = 'Namibia', ['NE'] = 'Niger', ['NG'] = 'Nigeria', ['NI'] = 'Nicaragua', ['NL'] = 'Netherlands', ['NO'] = 'Norway', ['NP'] = 'Nepal', ['NR'] = 'Nauru', ['NZ'] = 'New Zealand', ['OM'] = 'Oman', ['PA'] = 'Panama', ['PE'] = 'Peru', ['PG'] = 'Papua New Guinea', ['PH'] = 'Philippines', ['PK'] = 'Pakistan', ['PL'] = 'Poland', ['PT'] = 'Portugal', ['PW'] = 'Palau', ['PY'] = 'Paraguay', ['QA'] = 'Qatar', ['RO'] = 'Romania', ['RS'] = 'Serbia', ['RU'] = 'Russian Federation', ['RW'] = 'Rwanda', ['SA'] = 'Saudi Arabia', ['SB'] = 'Solomon Islands', ['SC'] = 'Seychelles', ['SD'] = 'Sudan', ['SE'] = 'Sweden', ['SG'] = 'Singapore', ['SH'] = 'Saint Helena', ['SI'] = 'Slovenia', ['SK'] = 'Slovakia', ['SL'] = 'Sierra Leone', ['SM'] = 'San Marino', ['SN'] = 'Senegal', ['SO'] = 'Somalia', ['SR'] = 'Suriname', ['ST'] = 'Sao Tome and Principe', ['SV'] = 'Salvador', ['SX'] = 'Sint Maarten (Dutch part)', ['SY'] = 'Syrian Arab Republic', ['SZ'] = 'Swaziland', ['TC'] = 'Turks and Caicos Islands', ['TD'] = 'Chad', ['TG'] = 'Togo', ['TH'] = 'Thailand', ['TJ'] = 'Tajikistan', ['TL'] = 'Timor?Leste', ['TM'] = 'Turkmenistan', ['TN'] = 'Tunisia', ['TO'] = 'Tonga', ['TR'] = 'Turkey', ['TT'] = 'Trinidad and Tobago', ['TV'] = 'Tuvalu', ['TW'] = 'Taiwan', ['TZ'] = 'Tanzania', ['UA'] = 'Ukraine', ['UG'] = 'Uganda', ['US'] = 'United States of America', ['UY'] = 'Uruguay', ['UZ'] = 'Uzbekistan', ['VA'] = 'Holy See', ['VC'] = 'Saint Vincent', ['VE'] = 'Venezuela', ['VG'] = 'Virgin Islands', ['VN'] = 'Viet Nam', ['VU'] = 'Vanuatu', ['WS'] = 'Samoa', ['YE'] = 'Yemen', ['ZA'] = 'South Africa', ['ZZ'] = 'n/a', ['ZM'] = 'Zambia', } function showHome () local countryCode = exports["admin"]:getPlayerCountry(source) setElementData(source,"Country",countryNames[countryCode]) outputChatBox("*"..getPlayerName(source) .."#FFFF00 join #FF0000 [#FFFF00".. tostring(countryNames[countryCode]) .."#FF0000] !",getRootElement(), 255, 255, 255, true ) end addEventHandler("onPlayerJoin",getRootElement(),showHome) You had a "=" infront of: exports.scoreboard:addScoreboardColumn('Country').
-
I've tested that function before and it worked, maybe your text doesn't has HEX colors?
-
addEventHandler("onClientResourceStart",resourceRoot, function() GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(152,79,519,494,"BKZ| Sistema de Musica",false) guiSetVisible(GUIEditor_Window[1], false) GUIEditor_Image[1] = guiCreateStaticImage(0.2293,0.0607,0.5453,0.0911,"shruk.png",true,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(0.0443,0.1943,0.2543,0.1275,"Pump It",true,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(0.3776,0.1964,0.2543,0.1275,"una vaina loca",true,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(0.6917,0.1943,0.2543,0.1275,"sexy Bitch",true,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(0.0462,0.3765,0.2543,0.1275,"Sexo sudor y calor",true,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(0.3796,0.3826,0.2543,0.1275,"hola beba",true,GUIEditor_Window[1]) GUIEditor_Button[6] = guiCreateButton(0.738,0.8806,0.2447,0.1012,"CERRAR",true,GUIEditor_Window[1]) showCursor(false) end ) bindKey("F1","down", function () guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end ) addEventHandler("onClientGUIClick", root, function () if ( source == GUIEditor_Button[1] ) then sound = playSound( "http://escapadehigh.com/Stuff/Pump.mp3", false ) elseif ( source == GUIEditor_Button[2] ) then sound = playSound( "http://tubefot.com/discografias/farruko/Fuego%20Ft.%20Farruko%20-%20Una%20Vaina%20Loca%20(Official%20Remix)%20%20([url=http://WWW.ELGENERO.COM]WWW.ELGENERO.COM[/url]).mp3", false ) elseif ( source == GUIEditor_Button[3] ) then sound = playSound( "http://spm77.free.fr/Music/David%20Guetta%20-%20One%20More%20Love%20(2010)%20-%20Dance/103-david_guetta_feat_akon-sexy_bitch.mp3", false ) elseif ( source == GUIEditor_Button[4] ) then sound = playSound( "http://mp3.hhgroups.com/descargar-tema/Shamanes%20Crew%20-%20Shamanes%20junto%20a%20ti%20-%20www.HHGroups.com.mp3", false ) elseif ( source == GUIEditor_Button[5] ) then sound = playSound( "http://dc437.4shared.com/img/1082416795/657d267e/dlink__2Fdownload_2FzqOaM5Nj_3Ftsid_3D00000000-000000-00000000/preview.mp3", false ) elseif ( source == GUIEditor_Button[6] ) then guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end end ) Con "F1" ocultas/mostras el GUI.