Jump to content

Serginix

Members
  • Posts

    339
  • Joined

  • Last visited

Everything posted by Serginix

  1. Ambos tenian razon..... SolidSnake14 por la funcion q es la q se utiliza para borrar los nombres.... Carlos III porque ese script utiliza esa funcion, y ademas tenia invisibilidad (aunq borre esa parte xq utilizo algo mejor jeje) Lastimosamente el script no funciona cuando tenes el script de NN (New Nametags) Activo, quizas se podria arreglar pero este nn esta compilado T_T Pero gracias a Ambos ... pero para hacerse completamente invisible, ay alguna manera de borrar el Blip del jugador?, pero el server no usa sistemas de freeroam..
  2. hola queria preguntarles si alguien sabe una manera de Eliminar la Barra de Vida, De Chaleco, y el Nombre de los jugadores (osea Todo lo q aparece encimita de cada Jugador, Pero NO EL HUD, si no lo q ve el cliente arriba de cada PED ) alguna forma? Como ? es pa un video asi sea solo de todos los jugadores o se X o Y o como sea da = solo es un video PD: Uso el Script NN, la penultima version q salio, esto influye o puede sacar algun error? (no uso la ultima porque me saca error en la consola T_T)
  3. ! tan poco tanto pero ay q admitir q eres el mejor man
  4. mas perfecto para donde... solo era poner la funcion en un server side.... y quitarle la palabra Server.... ? Quieto...
  5. Dices?? Traducir todas las Funciones ????????????? q hayan Meta en Español??????????????? JAJAJAJa....
  6. Ps Si, para desatinar un rato jajaj pero la vdd creo q no funcionara.... ya q todo el script de freeroam viene junto no ? solo quiero saber si es posibile, porque el intentarlo O No Pasa Nada...O la consola saca error en 9. server.setElementAlpha(source, alpha) espesificament en la palabra "server" lo q no entiendo xq server, si la funcion va en un Client Side.... explore todos los lua del freeroam, con la palabra Alpha, y lo unico q encontre fueron esas lineas de abajo...
  7. te apollo pero creo q con el juego es español estaria bien
  8. Hola, quize extraer la funcion de Alpha del freeroam (el q haces /ap [numero] y te hace invisible, o medio visible dependiendo del numero] lo q encuentre fue: source = getLocalPlayer() function alphaCommand(source, command, alpha) local playerName = "" playerName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ( "user." .. playerName, aclGetGroup ( "Admin" ) ) then -jejejejej =P alpha = alpha and tonumber(alpha) if alpha then server.setElementAlpha(source, alpha) end end addCommandHandler('alpha', alphaCommand) addCommandHandler('ap', alphaCommand) ese en freeroam estaba en el Client Side, solo copie y lo modifique y no anda nisiquiera saca error la consola y en un server side del freeroam estaba esto (solo sauqe lo q tenia q ver con Alha) g_RPCFunctions = { setElementAlpha = { option = 'alpha', descr = 'Changing your alpha' } } g_OptionDefaults = { alpha = true } la vdd pienso q me falto copiar algo o modificar alguna bobadita T_T
  9. Ps... si y por eso uno debe poner cosas para todos los usuarios, pero estar en una zona de solo Admines es como un Paraiso, Nuestros Lugares Felizes, editados a nuestro Modo
  10. Yo en mi server ya tengo mi propia base admin, en el area 51, deberian verla
  11. yo creo q con 100PNG`s se referia a lo q utiliza en la GUI, mmm pero pensandolo mas lentamente si te exageraste
  12. jajaja no man olvidalo ya se porque se quedaba el mouse pegado, y si, este script Tune_Carrier, en MTA Resource lo han editado, para asi crear distintos barcos basados en un script original...entonces una vez me funciono el primero el Tuna Carrier pude reemplazar y tocar solo lo nesesario en los edmas y el mouse se traba esque en mi server el script se abre con "M"=Tuna Carrier, "," y "." 2 barcos cargueros, lo q pasa si habro digamos el M y el de "," al vez el mouse se pega pero solo es eso funciona bien perdna la molestia jajaj
  13. no se si cerrar errr mio, pues tengo 4 scripts q usan la misma energia del original, y aveces estos scripts, pues le resplazo la misma linea del client side, y aveces el cursos se queda pegado pero el panel se elimina o no se crea cursor y el panel quda alli
  14. como digas..... despues de todo TU eres el master --[[ Carrier Client by Tuna. ]]-- local resX, resY = guiGetScreenSize() function createGUI(thePlayer) cWindow = guiCreateWindow((resX/2)-315,(resY/2)-100,629,200,"Control del Porta Aviones!",false) buttonSAC = guiCreateButton(0.3418,0.485,0.0668,0.195,"X",true,cWindow) NW = guiCreateButton(0.2655,0.255,0.0668,0.195,"NW",true,cWindow) N = guiCreateButton(0.3418,0.255,0.0668,0.195,"N",true,cWindow) NE = guiCreateButton(0.4213,0.26,0.0668,0.195,"NE",true,cWindow) W = guiCreateButton(0.2671,0.485,0.0668,0.195,"W",true,cWindow) E = guiCreateButton(0.4213,0.49,0.0668,0.195,"E",true,cWindow) SW = guiCreateButton(0.2671,0.73,0.0668,0.195,"SW",true,cWindow) S = guiCreateButton(0.3434,0.73,0.0668,0.195,"S",true,cWindow) SE = guiCreateButton(0.4213,0.725,0.0668,0.195,"SE",true,cWindow) NWr = guiCreateButton(0.5119,0.26,0.0668,0.195,"45",true,cWindow) GoUp = guiCreateButton(0.5919,0.26,0.0668,0.195,"Up",true,cWindow) resetH = guiCreateButton(0.6750,0.12,0.0600,0.1,"R",true,cWindow) NEr = guiCreateButton(0.6693,0.26,0.0668,0.195,"45",true,cWindow) Wr = guiCreateButton(0.5119,0.49,0.0668,0.195,"90",true,cWindow) GoDn = guiCreateButton(0.5919,0.49,0.0668,0.195,"Dn",true,cWindow) Er = guiCreateButton(0.6693,0.495,0.0668,0.195,"90",true,cWindow) button1 = guiCreateButton(0.0143,0.26,0.1113,0.195,"Open Rear Door",true,cWindow) button2 = guiCreateButton(0.0143,0.49,0.1113,0.195,"Raise Main Lift",true,cWindow) button3 = guiCreateButton(0.0143,0.72,0.1113,0.195,"Raise Side Lift",true,cWindow) buttonA = guiCreateButton(0.1430,0.26,0.1113,0.195,"Close Rear Door",true,cWindow) buttonB = guiCreateButton(0.1430,0.49,0.1113,0.195,"Lower Main Lift",true,cWindow) buttonC = guiCreateButton(0.1430,0.72,0.1113,0.195,"Lower Side Lift",true,cWindow) button4 = guiCreateButton(0.7663,0.26,0.213,0.195,"Move to LS",true,cWindow) button5 = guiCreateButton(0.7663,0.495,0.213,0.195,"Move to SF",true,cWindow) button6 = guiCreateButton(0.7663,0.725,0.213,0.195,"Move to LV",true,cWindow) button7 = guiCreateButton(0.5175,0.725,0.213,0.195,"Done",true,cWindow) GUIEditor_Label1 = guiCreateLabel(0.2766,0.125,0.2051,0.075," - Movement Controls -",true,cWindow) guiLabelSetColor(GUIEditor_Label1,255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label1,"top") guiLabelSetHorizontalAlign(GUIEditor_Label1,"left",false) GUIEditor_Label2 = guiCreateLabel(0.5158,0.125,0.1781,0.08,"Rotation Controls",true,cWindow) guiLabelSetColor(GUIEditor_Label2,255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label2,"top") guiLabelSetHorizontalAlign(GUIEditor_Label2,"left",false) GUIEditor_Label3 = guiCreateLabel(0.806,0.125,0.1669,0.0739,"Warp Controls",true,cWindow) guiLabelSetColor(GUIEditor_Label3,255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label3,"top") guiLabelSetHorizontalAlign(GUIEditor_Label3,"left",false) GUIEditor_Label4 = guiCreateLabel(0.0525,0.135,0.1669,0.0739,"Door/Lift Controls",true,cWindow) guiLabelSetColor(GUIEditor_Label4,255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label4,"top") guiLabelSetHorizontalAlign(GUIEditor_Label4,"left",false) addEventHandler("onClientGUIClick", GoUp, function() triggerServerEvent("carrierHeight", root, 3) end, false) addEventHandler("onClientGUIClick", GoDn, function() triggerServerEvent("carrierHeight", root, -3) end, false) addEventHandler("onClientGUIClick", resetH, function() triggerServerEvent("carrierHeight", root, 5.5) end, false) addEventHandler("onClientGUIClick", buttonSAC, function() triggerServerEvent("stopCarrier", root) end, false) addEventHandler("onClientGUIClick", button1, function() triggerServerEvent("rearDoorBut", root) end, false) addEventHandler("onClientGUIClick", button2, function() triggerServerEvent("mainLiftBut", root) end, false) addEventHandler("onClientGUIClick", button3, function() triggerServerEvent("sideLiftBut", root) end, false) addEventHandler("onClientGUIClick", buttonA, function() triggerServerEvent("rearDoorButD", root) end, false) addEventHandler("onClientGUIClick", buttonB, function() triggerServerEvent("mainLiftButD", root) end, false) addEventHandler("onClientGUIClick", buttonC, function() triggerServerEvent("sideLiftButD", root) end, false) addEventHandler("onClientGUIClick", button4, function() triggerServerEvent("moveToBut", root, 835.6, -2086, 5) end, false) addEventHandler("onClientGUIClick", button5, function() triggerServerEvent("moveToBut", root, -1357.7, 532.4, 5.5) end, false) addEventHandler("onClientGUIClick", button6, function() triggerServerEvent("moveToBut", root, 2415, 507, 5) end, false) addEventHandler("onClientGUIClick", button7, closeCgui, false) addEventHandler("onClientGUIClick", NW, function() triggerServerEvent("carrierMoveEvent", root, -160, 160, 0) end, false) addEventHandler("onClientGUIClick", N, function() triggerServerEvent("carrierMoveEvent", root, 0, 160, 0) end, false) addEventHandler("onClientGUIClick", NE, function() triggerServerEvent("carrierMoveEvent", root, 160, 160, 0) end, false) addEventHandler("onClientGUIClick", E, function() triggerServerEvent("carrierMoveEvent", root, 160, 0, 0) end, false) addEventHandler("onClientGUIClick", SE, function() triggerServerEvent("carrierMoveEvent", root, 160, -160, 0) end, false) addEventHandler("onClientGUIClick", S, function() triggerServerEvent("carrierMoveEvent", root, 0, -160, 0) end, false) addEventHandler("onClientGUIClick", SW, function() triggerServerEvent("carrierMoveEvent", root, -160, -160, 0) end, false) addEventHandler("onClientGUIClick", W, function() triggerServerEvent("carrierMoveEvent", root, -160, 0, 0) end, false) addEventHandler("onClientGUIClick", NWr, function() triggerServerEvent("carrierRotate", root, 0, 0, 45) end, false) addEventHandler("onClientGUIClick", NEr, function() triggerServerEvent("carrierRotate", root, 0, 0, -45) end, false) addEventHandler("onClientGUIClick", Er, function() triggerServerEvent("carrierRotate", root, 0, 0, -90) end, false) addEventHandler("onClientGUIClick", Wr, function() triggerServerEvent("carrierRotate", root, 0, 0, 90) end, false) guiSetVisible(cWindow, false) end addEventHandler("onClientResourceStart", resourceRoot, createGUI) function openGUI(thePlayer) if (cWindow ~= nil) then guiSetVisible(cWindow, true) showCursor(true) end end addEvent("makeGUI", true) addEventHandler("makeGUI", getLocalPlayer(), openGUI) function closeCgui() guiSetVisible (cWindow, false) showCursor(false) end
  15. Ps yo Vote por la interzas del 1.1 o la DP2 , ambas me gustan ! y ps lo de traducir MTA 1.1 si...seria... simplemente.....COOOL !
  16. si y funcina de las mil maravillas pero no lo cierra Lol en fin SolidSnake14, estoy MUY, pero MUUUUUY Apenado con voz, xq me ayudas bastante..... no te jodo mas...
  17. se ve mas sencillo desde esa pespectiv.... gracias pero si funciona solo con STAFF seguro lol
  18. Ok..... Server Side (Algo Extenso pero Bueno...) --[[ Aircraft Carrier Server by Tuna ]]-- local hullx = -1357.7117919922 local hully = 532.47308349609 local hullz = 5.5571422576904 local cH = createObject(10771, -1357.7117919922, 532.47308349609, 5.5571422576904) -- carrier hull local cL = createObject(11145, -1420.6689453125, 532.482421875, 4.378999710083) -- carrier lowdeck local cHa = createObject(11146, -1366.7033691406, 533.04119873047, 12.420551300049) -- carrier hangar local cB = createObject(10770, -1354.3937988281, 524.93719482422, 38.597640991211) -- carrier bridge local cBi = createObject(11237, -1354.4262695313, 524.74877929688, 38.529960632324) -- carrier bits local cLi = createObject(3115, -1456.7243652344, 532.509765625, 10.010332107544) -- carrier lift local cLi2 = createObject(3114, -1414.4064941406, 547.54791259766, 9.7388973236084) -- carrier lift 2 local cIn = createObject(10772, -1356.3599853516, 532.47290039063, 17.386043548584) -- carrier lines local cIn2 = createObject(10772, -1356.3599853516, 532.47290039063, 10.330332107544) -- carrier lines 2 (invisible in hangar) local cD = createObject(3113, -1465.7409667969, 532.85229492188, 1.2527737617493) -- carrier door local cC = createObject(11149, -1363.7884521484, 527.28692626953, 12.11157989502) -- carrier corridiors local cSB1 = createObject(3885, -1394.6096191406, 525.0712890625, 18.118799209595) -- carrier sam base 1 local cSB2 = createObject(3885, -1324.1744384766, 524.89855957031, 20.940547943115) -- carrier sam base 2 local cSS1 = createObject(3884, -1324.0531005859, 525.56842041016, 21.032855606079) -- carrier sam site 1 local cSS2 = createObject(3884, -1394.2770996094, 525.51947021484, 18.218799209595) -- carrier sam site 2 attachElements(cL, cH, -1420.6689453125 - hullx, 532.482421875 - hully, 4.378999710083 - hullz) attachElements(cHa, cH, -1366.7033691406 - hullx, 533.04119873047 - hully, 12.420551300049 - hullz) attachElements(cB, cH, -1354.3937988281 - hullx, 524.93719482422 - hully, 38.597640991211 - hullz) attachElements(cBi, cH, -1354.4262695313 - hullx, 524.74877929688 - hully, 38.529960632324 - hullz) attachElements(cLi, cH, -1456.7243652344 - hullx, 532.509765625 - hully, 10.010332107544 - hullz) attachElements(cLi2, cH, -1414.4064941406 - hullx, 547.54791259766 - hully, 9.7388973236084 - hullz) attachElements(cIn, cH, -1356.3599853516 - hullx, 532.47290039063 - hully, 17.386043548584 - hullz) attachElements(cIn2, cH, -1356.3599853516 - hullx, 532.47290039063 - hully, 10.330332107544 - hullz) attachElements(cD, cH, -1465.7409667969 - hullx, 532.85229492188 - hully, 1.2527737617493 - hullz) attachElements(cC, cH, -1363.7884521484 - hullx, 527.28692626953 - hully, 12.11157989502 - hullz) attachElements(cSB1, cH, -1394.6096191406 - hullx, 525.0712890625 - hully, 18.118799209595 - hullz) attachElements(cSB2, cH, -1324.1744384766 - hullx, 524.89855957031 - hully, 20.940547943115 - hullz) attachElements(cSS1, cH, -1324.0531005859 - hullx, 525.56842041016 - hully, 21.032855606079 - hullz) attachElements(cSS2, cH, -1394.2770996094 - hullx, 525.51947021484 - hully, 18.218799209595 - hullz) function GUIness(source) if hasObjectPermissionTo( source, 'general.adminpanel', true ) then triggerClientEvent(source, "makeGUI", root) outputChatBox ( "De Aqui podes Manejar el Barco", source, 0, 255, 0) else outputChatBox ( "No puedes usar esto, nesecitas ser parte del STAFF.", source, 255, 0, 0) end end addCommandHandler("pv", GUIness) function goToCarrier(source) if hasObjectPermissionTo( source, 'general.adminpanel', true ) then local x,y,z = getElementPosition(cH) setElementPosition(source, x, y, z + 15) outputChatBox ( "Bienvenido al Porta Aviones "..getPlayerName(source).." !", source, 0, 255, 0) else outputChatBox ( "No puedes usar esto, nesecitas ser parte del STAFF.", source, 255, 0, 0) end end addCommandHandler("irpv", goToCarrier) function setCarrierHeightFunc(playerSource, commandName, height) if (height) then if hasObjectPermissionTo( source, 'general.adminpanel', true ) then local x,y,z = getElementPosition(cH) setElementPosition(cH, x, y, tonumber(height)) outputChatBox ( "El Porta Aviones a sido regresado a su Posicion Original.", 255, 0, 0) else outputChatBox ( "No puedes usar esto, nesecitas ser parte del STAFF.", source, 255, 0, 0) end end end addCommandHandler("recolocar", setCarrierHeightFunc) function stopCaFunc() stopObject(cH) end addEvent("stopCarrier", true) addEventHandler("stopCarrier", root, stopCaFunc) function fixDetach(obj) local x, y, z = getElementPosition(obj) local rx, ry, rz = getElementRotation(obj) detachElements(obj) setElementPosition(obj, x, y, z) setElementRotation(obj, rx, ry, rz) return x, y, z end -- Carrier back door function cDoorOpen() local x, y, z = fixDetach(cD) moveObject(cD, 3000, x - 3, y, z + 10) setTimer(attachElements, 3000, 1, cD, cH, -1465.7409667969 - hullx - 3, 532.85229492188 - hully, 1.2527737617493 - hullz + 10) end addEvent("rearDoorBut", true) addEventHandler("rearDoorBut", root, cDoorOpen) function cDoorClose() local x, y, z = fixDetach(cD) moveObject(cD, 3000, x + 3, y, z - 10) setTimer(attachElements, 3000, 1, cD, cH, -1465.7409667969 - hullx, 532.85229492188 - hully, 1.2527737617493 - hullz) end addEvent("rearDoorButD", true) addEventHandler("rearDoorButD", root, cDoorClose) -- Carrier main lift function cMainLiftUp() local x, y, z = fixDetach(cLi) moveObject(cLi, 3000, x, y, z + 7) setTimer(attachElements, 3000, 1, cLi, cH, -1456.7243652344 - hullx, 532.509765625 - hully, 10.010332107544 - hullz + 7) end addEvent("mainLiftBut", true) addEventHandler("mainLiftBut", root, cMainLiftUp) function cMainLiftDown() local x, y, z = fixDetach(cLi) moveObject(cLi, 3000, x, y, z - 7) setTimer(attachElements, 3000, 1, cLi, cH, -1456.7243652344 - hullx, 532.509765625 - hully, 10.010332107544 - hullz) end addEvent("mainLiftButD", true) addEventHandler("mainLiftButD", root, cMainLiftDown) -- Carrier side lift down function cSideLiftUp() local x, y, z = fixDetach(cLi2) moveObject(cLi2, 3000, x, y, z + 7) setTimer(attachElements, 3000, 1, cLi2, cH, -1414.4064941406 - hullx, 547.54791259766 - hully, 9.7388973236084 - hullz + 7) end addEvent("sideLiftBut", true) addEventHandler("sideLiftBut", root, cSideLiftUp) function cSideLiftDown() local x, y, z = fixDetach(cLi2) moveObject(cLi2, 3000, x, y, z - 7) setTimer(attachElements, 3000, 1, cLi2, cH, -1414.4064941406 - hullx, 547.54791259766 - hully, 9.7388973236084 - hullz) end addEvent("sideLiftButD", true) addEventHandler("sideLiftButD", root, cSideLiftDown) -- Carrier raise/lower/reset function carrierHeightFunc(theValue) local x, y, z = getElementPosition(cH) if (theValue == 5.5) then moveObject(cH, 0, x, y, 5.5) else moveObject(cH, 5000, x, y, z + theValue) end end addEvent("carrierHeight", true) addEventHandler("carrierHeight", root, carrierHeightFunc) -- Carrier warper function carrierWarper(x, y, z) moveObject(cH, 0, x, y, z) end addEvent("moveToBut", true) addEventHandler("moveToBut", root, carrierWarper) -- Directional movement controls function carrierMove(, yD, zD) local x,y,z = getElementPosition(cH) moveObject(cH, 20000, x + , y + yD, z + zD) end addEvent("carrierMoveEvent", true) addEventHandler("carrierMoveEvent", root, carrierMove) -- Rotational movement controls function carrierRotateFunc(rX, rY, rZ) local x,y,z = getElementPosition(cH) moveObject(cH, 5000, x, y, z, rX, rY, rZ) end addEvent("carrierRotate", true) addEventHandler("carrierRotate", root, carrierRotateFunc)
  19. Hola, me eh bajado el resource Tuna_Carriet, y me anda de las mil maravillas, y lo optimize para q solu funciona con los miembros del STAFF, pero toca copiar un Comando, y eso termina cansando, un blind para q solo presiones M y te habra el panel de movimiento lo mas de bueno , eh intentado con las funciones bindKey( "m", "down", "[aca iria el nombre del gui supongo]", "") bindKey( "m", "down", "[lo mismo de arriba]", "") puse 2, uno para habrir y el otro para cerrar.... supongo q iria asi, y no me funcionan......... en odnde va el nombre del GUI eh puesto GUIness porque mirando el codigo vi q tenia q ser GUIness o si no makeGUI, pero con ninguno de los 2 me funciona.... asi luce, -- Esto es parte del Server SIde, edite el comando le agrege la opcion para el STAFF y la informacion en el chat function GUIness(source) if hasObjectPermissionTo( source, 'general.adminpanel', true ) then triggerClientEvent(source, "makeGUI", root) outputChatBox ( "De Aqui podes Manejar el Barco", source, 0, 255, 0) else outputChatBox ( "No puedes usar esto, nesecitas ser parte del STAFF.", source, 255, 0, 0) end end addCommandHandler("pv", GUIness) En el Client Side, esta la informacion de la creacion de la GUI, en donde la ventana principal es cWindow, la agrege en la parte del BindKey y tampoco funciono, no se ya mire la Wiki aqui https://forum.multitheftauto.com/posting.php?mode=post&f=122 creo q un pinche comando me quedo grande D:.... pero entonces q estaria mal? tengo q aprender
  20. no creo, porque aunque Pare el rpg_teams sigue el error, aunque ayer no se q hize y los jugadores si se ponian en su coreespondiente equipo pero se, pero solo habian un maximo de 5 equipos , osea creaba uno y se borraba otro
  21. Hola a todos, tenia una duda en cuanto a mis equipos, y creo q es el menu de aparecimiento q uso, la cosa esque el Jugador, se mete a un equipo, casi siempre solo funciona con los 4 o 3 primeros equipos,y bueno todo normal se le cambia el color del nombre y se le pone en el equipo en la ScoreBoard, despues de 3 o 4 equipos ya añadidos o cuando se le de la gana deja de poner a los jugadores en X equipo, les deja el nombre en blanco y obvio desabilita el Team Chat, pero el jugador anda y camina normal.... me eh baajdo el Resource rpg_teams, y agregado unos equipos manualmente, aver si funcionaba y yo me meto al equipo normal todo bien aparesco, pero en la Scoreboard, sale el equipo al q me meti, pero yo no aparesco en el, no se si me han entendido...... no se seguire haciendo pruebas, muy amable al q me ayude el resource q uso de aparicion es "Spawn Menu" de 50p
  22. Si, pero el los quiere en el MTA, y nesecita la energia para reemplazar Skins....
×
×
  • Create New...