Jump to content

djantony

Members
  • Posts

    23
  • Joined

About djantony

  • Birthday 25/08/2001

Details

  • Gang
    Lima
  • Location
    Barranca
  • Occupation
    Taxitas
  • Interests
    script

Recent Profile Visitors

625 profile views

djantony's Achievements

Civilian

Civilian (7/54)

0

Reputation

  1. Cómo puedo hacer para que al entrar en una colShape se desactive el F1 > Panel freeroam (o cualquier otro bindKey, en este caso, el freeroam)?
  2. CMDBLOQUEAR = { ["almoto1"] = true, ["alpack1"] = true, ["almoney1"] = true, ["alvida1"] = true, ["alcolete1"] = true, ["alfix1"] = true, ["me"] = true, ["exit"] = true, ["logout"] = true, ["x1"] = true, ["logout"] = true, ["resetar"] = true, } function BLOQUEARCOMANDOS( Comando ) if CMDBLOQUEAR[ Comando ] == true then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then return end cancelEvent() triggerClientEvent(source, "addNotification", root, "Você não tem essa permissão!") end end addEventHandler("onPlayerCommand", root, BLOQUEARCOMANDOS) Encontre estre script de bloqueo de comando pero es para ACL quisiera un ayuda para convertirlo en bloqueo pero para TEAM
  3. quisiera crear un comando para silenciar toda la música del servidor por ejemplo tengo 2 sistemas de música , una del panel de música 3d y otro panel de radio auto , quisiera crear un comando para que otros no les fastidié la música
  4. Estoy comprando una GM de RPG escucho sus ofertas y su proyecto
  5. Nesecito un script que cuando mi auto cae al agua me teletransporte automaticamente ala pista ?
  6. matchmarker = createMarker(2510.401, -2866.363, 44.369, "cylinder", 2.5) local favelaPos = { {3308.538, -1852.675, 36.98}, {3249.941, -1830.959, 37.088}, {3235.886, -1855.52, 37.081}, {3233.154, -1906.031, 36.05}, {3321.249, -1905.912, 36.222}, {3254.726, -1884.039, 33.667}, {3245.802, -1881.803, 37.347}, {3269.945, -1870.982, 36.98} } function info (thePlayer) exports["a_infobox"]:addBox(thePlayer, "info", "Para entrar al PVP con mp4 usa el comando /pvp") end addEventHandler("onMarkerHit", matchmarker, info) function start (thePlayer) local x, y, z = getElementPosition(thePlayer) local spawn = math.random(1) local rnd = math.random( 1, #favelaPos ) if getPlayerMoney (thePlayer) >=0 then if (getDistanceBetweenPoints3D(x, y, z, 2510.401, -2866.363, 44.369)) < 5 then if spawn == 1 then exports.TDMinfobox:showBox("Entrastes ala Zona PVP de MP4", "info", thePlayer); setElementInterior(thePlayer, 0) setElementPosition(thePlayer, favelaPos[rnd][1], favelaPos[rnd][2], favelaPos[rnd][3], favelaPos[rnd][4] ) takePlayerMoney(thePlayer, 0) giveWeapon(thePlayer, 31, 1000) setElementHealth ( thePlayer, 100 ) end else exports["a_infobox"]:addBox(thePlayer, "error", "Estas lejos del market") end else outputChatBox(" No tienes suficiente dinero", thePlayer, 0, 255, 255) end end addCommandHandler("pvp", start) addCommandHandler( 'salir', function( thePlayer ) setElementInterior(thePlayer, 0) setElementPosition(thePlayer, 2525.195, -2861.179, 45.369) takeWeapon( thePlayer, 31 ) end )
  7. matchmarker = createMarker(2510.401, -2866.363, 44.369, "cylinder", 2.5) local favelaPos = { {3308.538, -1852.675, 36.98}, {3249.941, -1830.959, 37.088}, {3235.886, -1855.52, 37.081}, {3233.154, -1906.031, 36.05}, {3321.249, -1905.912, 36.222}, {3254.726, -1884.039, 33.667}, {3245.802, -1881.803, 37.347}, {3269.945, -1870.982, 36.98} } function info (thePlayer) exports["a_infobox"]:addBox(thePlayer, "info", "Para entrar al PVP con mp4 usa el comando /pvp") end addEventHandler("onMarkerHit", matchmarker, info) function start (thePlayer) local x, y, z = getElementPosition(thePlayer) local spawn = math.random(1) local rnd = math.random( 1, #favelaPos ) if getPlayerMoney (thePlayer) >=0 then if (getDistanceBetweenPoints3D(x, y, z, 2510.401, -2866.363, 44.369)) < 5 then if spawn == 1 then exports.TDMinfobox:showBox("Entrastes ala Zona PVP de MP4", "info", thePlayer); setElementInterior(thePlayer, 0) setElementPosition(thePlayer, favelaPos[rnd][1], favelaPos[rnd][2], favelaPos[rnd][3], favelaPos[rnd][4] ) takePlayerMoney(thePlayer, 0) giveWeapon(thePlayer, 31, 1000) setElementHealth ( thePlayer, 100 ) end else exports["a_infobox"]:addBox(thePlayer, "error", "Estas lejos del market") end else outputChatBox(" No tienes suficiente dinero", thePlayer, 0, 255, 255) end end addCommandHandler("pvp", start) addCommandHandler( 'salir', function( thePlayer ) setElementInterior(thePlayer, 0) setElementPosition(thePlayer, 2525.195, -2861.179, 45.369) takeWeapon( thePlayer, 31 ) end )
  8. tengo bien configurado el voice en el config. pero cuando activo el script voice dura 10 segundos en funcionar despues de ai no funciona nose escucha y puedo ablar me pueden ayudar porfavor nose que estaria pasando ?
  9. function textToSpeech(txt,lang) if lang then playSound("http://translate.google.com/translate_tts?tl="..lang.."&q="..txt.."&client=tw-ob", false) else playSound("http://translate.google.com/translate_tts?tl=en&q="..txt.."&client=tw-ob", false) end end addEvent("client_textToSpeech" , true ) addEventHandler("client_textToSpeech" , getRootElement(), textToSpeech) mi ayuda es como lo puedo poner en español como ven ese script lo encontre en una comunidad brasileña me ayuda para ponerlo en español?
  10. local cWindow = guiCreateWindow(337, 177, 816, 762, "CINEMA", false) local browser = guiCreateBrowser(0, 0, 800, 600, false, false, false, cWindow) local theBrowser = guiGetBrowser(browser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, "http://www.youtube.com") end ) CINEMA = { button = {}, window = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() guiWindowSetSizable(cWindow, false) guiSetProperty(cWindow, "CaptionColour", "FF0309FB") guiSetVisible(cWindow,false) CINEMA.button[1] = guiCreateButton(9, 608, 388, 35, "GET URL", false, cWindow) guiSetFont(CINEMA.button[1], "default-bold-small") guiSetProperty(CINEMA.button[1], "NormalTextColour", "FFFF0000") CINEMA.button[2] = guiCreateButton(427, 608, 381, 35, "PUT VIDEO IN CINEMA", false, cWindow) guiSetFont(CINEMA.button[2], "default-bold-small") guiSetProperty(CINEMA.button[2], "NormalTextColour", "FFFF0000") CINEMA.button[3] = guiCreateButton(10, 653, 388, 35, "CLOSE", false, cWindow) guiSetFont(CINEMA.button[3], "default-bold-small") guiSetProperty(CINEMA.button[3], "NormalTextColour", "FFFF0000") CINEMA.button[4] = guiCreateButton(425, 654, 383, 34, "VIEW VIDEO IN FULL SCREEN MODE", false, cWindow) guiSetFont(CINEMA.button[4], "default-bold-small") guiSetProperty(CINEMA.button[4], "NormalTextColour", "FFFF0000") CINEMA.edit[1] = guiCreateEdit(11, 700, 796, 52, "", false, cWindow) guiEditSetReadOnly(CINEMA.edit[1], true) end ) function geturl() if source == CINEMA.button[1] then guiSetText(CINEMA.edit[1],getBrowserURL(theBrowser)) end end addEventHandler("onClientGUIClick",root,geturl) function dxDrawImage3D(x,y,z,w,h,m,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c , ...) end local screenWidth, screenHeight = guiGetScreenSize() local webBrowser = createBrowser(screenWidth, screenHeight, false, false) function webBrowserRender() local x, y = 110.7, 1024.15 dxDrawMaterialLine3D(x, y, 23.25, x, y, 14.75, webBrowser, 18.2, tocolor(255, 255, 255, 255), x, y+1, 19) end function fullscreen() local URLs = string.sub(guiGetText(CINEMA.edit[1]),"33") if source == CINEMA.button[4] then loadBrowserURL(webBrowser, "https://www.youtube.com/embed/"..URLs.."?autoplay=1&iv_load_policy=3&enablejsapi=1&fs=0&theme=light") end end addEventHandler("onClientGUIClick",root,fullscreen) function brow() if source == CINEMA.button[2] then loadBrowserURL(webBrowser, guiGetText(CINEMA.edit[1])) addEventHandler("onClientPreRender", root, webBrowserRender) end end addEventHandler("onClientBrowserCreated", webBrowser, brow) addEventHandler("onClientGUIClick",root,brow) function url() guiSetVisible(cWindow,true) showCursor( true ) guiSetInputEnabled( true ) end addCommandHandler("cinema",url) function closeman() if source == CINEMA.button[3] then guiSetVisible(cWindow,false) showCursor( false ) guiSetInputEnabled( false ) end end addEventHandler("onClientGUIClick",root,closeman) el error es que no me reproduce un live de youtube
  11. como ver youtube en vivo mta sa osea tengo un script de cinema pero al poner un video de youtube en vivo no reproduce ?
  12. gracias lo revisare un jugador de mi servidor perdio su contraseña ! y como soy nuevo pregunto como aserlo
×
×
  • Create New...