Jump to content

maauroo

Members
  • Posts

    209
  • Joined

  • Last visited

Everything posted by maauroo

  1. Claro Pero Lo Tengo Que Colocar En La Funcion Cuando Entrar O Para Verlo.. Porque Puse Lo que Vos Me Pasate De Wiki No Funciona.. Lo Puse En .Lua Pero No Funca.
  2. Si No Te Molesta, Me Podes Hacer Uno? Mas Esplicativo Porque No Lo Tiendo Muy Bien.
  3. Hola.. Queria saber como hacer texto en pantalla.. Ej: Cada Ves que entran Aparesca En La Pantalla En Grande "BIENVENIDO AL SERVER MTA SA" Con Colores O Tipo De Letra.. Se Los Agradesco.
  4. Funciona Correctamente.. Gracias a Edikosh998, ElMota y A Los Que Querian Ayudarme.. Pueden Cerrar Tema.
  5. Mira Mi Dm Completo: local posiciones = { { 2170.3459, 1611.5499, 999.9727 }, { 2193.1315, 1625.0666, 999.9719 }, { 2199.9279, 1608.9176, 999.9716 }, { 2225.5649, 1620.4234, 999.9655 }, { 2229.4406, 1597.1533, 999.968 }, { 2229.7163, 1574.3369, 999.9692 }, { 2219.9885, 1552.2485, 1004.7188 }, { 2205.5302, 1580.3706, 999.9785 }, { 2187.1303, 1591.5382, 999.9782 }, { 2175.5495, 1577.6177, 999.9683 }, { 2177.8242, 1601.6416, 999.9774 } } local jugadoresEnDM = { } addEventHandler ( "onPlayerWasted", getRootElement( ), function ( ) if ( jugadoresEnDM [ source ] ) then local azar = math.random ( #posiciones ) local interior = getElementInterior ( source ) local skin = getElementModel ( source ) local x, y, z = unpack ( posiciones [ azar ] ) setTimer( spawnPlayer, 2000, 1, source, x, y, z,0, skin, interior ) end end ) addEventHandler ("onPlayerSpawn", root,dararma) -- El Problema Es El Reespawn Que No Me Da Arma. function dararma( ) if (jugadoresEnDM [ source] ) then giveWeapon ( source, 38, 999) end end function consoleSetPlayerPosition ( thePlayer ) local azar = math.random ( #posiciones ) local interior = getElementInterior ( thePlayer ) local x, y, z = getElementPosition ( thePlayer ) setElementInterior ( thePlayer, 1 ) giveWeapon ( thePlayer, 38, 999) setElementPosition ( thePlayer, unpack ( posiciones [ azar ] ) ) jugadoresEnDM [ thePlayer ] = { interior, x, y, z } end addCommandHandler ( "minigun", consoleSetPlayerPosition ) addCommandHandler ( "salirdm", function ( thePlayer ) if ( jugadoresEnDM [ thePlayer ] ) then setElementInterior ( thePlayer, unpack ( jugadoresEnDM [ thePlayer ] ) ) jugadoresEnDM [ thePlayer ] = nil end end ) Fijate Si Ves Algun Error O Problema..
  6. Lo Tengo Asi.. addEventHandler ("onPlayerSpawn", root,dararma) function dararma( ) if (jugadoresEnDM [ source] ) then giveWeapon ( source, 38, 999) end end Sige Sin Funcionar.. No Me Da El Arma Al Respawnear. ¿Como Se Puede Solucionar? ¿No Hay Otra Manera?
  7. No Me Aparece El Armas ¿ Que Problema Hay?
  8. Lo Puse Asi: addEventHandler ("onPlayerSpawn", dararma) function dararma( source ) if (jugadoresEnDM [ source] ) then giveWeapon ( source, 38, 999) end end Pero Sige Sin Funcionar ¿Que Problema Hay?
  9. Lo Que Pasa Que Lo Hise Para Cuando Lo Matan Vuelva A DM.. Por Eso. No Funca Asi. setTimer( giveWeapon,2000,1,source,38,999) -- No Hay Otra Forma? setTimer( spawnPlayer, 2000, 1, source, x, y, z, 0, skin, interior ) -- Si o Si A Esta Funcion Lo Tengo Que Dejas Asi. ¿Como Lo Soluciono?
  10. Lo Ise Asi Porque Nadie Sabe Que Lo Edite.. Ademas El 2 Pasaron 24 hora Me Parece.. Y Nesesito La Ayuda Posible Para Terminar Con Mi Dm..
  11. EDIT: Ya Lo Hise y Funciona Pero Tengo Un Problema.. Al Respawnear En ZonaDm, No Me Da El Arma.. ¿Como Lo Soluciono? addEventHandler ( "onPlayerWasted", getRootElement( ), function ( ) if ( jugadoresEnDM [ source ] ) then local azar = math.random ( #posiciones ) local interior = getElementInterior ( source ) local skin = getElementModel ( source ) local x, y, z = unpack ( posiciones [ azar ] ) setTimer( spawnPlayer, 2000, 1, source, x, y, z,0, skin, interior ) giveWeapon ( source, 38, 999) -- Aqui Esta La Funcion Por Lo Cual Tiene Que Funcionar Cuando Respawnean... Pero No Funciona. end end ) Cuando Respawnean Tiene Dar El Arma Pero No Funciona.. Se Los Agradesco Si Me Ayudan!!
  12. Hola.. Hise Un ZonaDm Hace Poco Pero Se Me Olvido De Poner Las Armas.. ¿Como Puedo Hacer Para Que Se Teletrasporte Y Obtenga Un Armas y Municiones? y Que Al Salir De ZonaDm Se Les Saque las armas.
  13. Por Ultimo Quisiera Saber Como Hacer Poner La Id De La Minigun Cuando Entra En ZonaDm Y Bloquear Comandos Cuando Esten Adentro De Zonadm? Se Los Agradesco..
  14. Funciona Perfectamente.. Por Ultimo Quisiera Saber Como Bloqueo Comandos Cuando Estoy Anentro De Dm Y Poner Que Aparescan Con Armas? Me Refiero Bloquear Un Comando Cuando Estoy A Dentro De ZonaDm.
  15. Funciona Correctamente.. Ahora Si Yo Estoy Fuera De ZonaDm, Como Puedo Hacer Para Que Respawne Cuando Mueren Fuera De ZonaDm? ¿Se Entiende?
  16. Funciona. Ahora Quiero Salir De Esa ZonaDm Con Cmd /SalirDm . Como Lo Puedo Hacer?
  17. Ahora NO Me Respawnea.. ¿Que Puede Estar Mal?
  18. Pero Como Lo Puedo Colocar?? addEventHandler( "onPlayerWasted",thePlayer, getRootElement( ), function() local azar = math.random ( #posiciones ) setTimer( spawnPlayer, 2000, 1, source, unpack ( posiciones [ azar ] )) end )
  19. Hola.. Hay Lo Arregle.. Pero Cuando Respawnea No Va Al Interior.. Ven: local posiciones = { { 2170.3459, 1611.5499, 999.9727 }, { 2193.1315, 1625.0666, 999.9719 }, { 2199.9279, 1608.9176, 999.9716 }, { 2225.5649, 1620.4234, 999.9655 }, { 2229.4406, 1597.1533, 999.968 }, { 2229.7163, 1574.3369, 999.9692 }, { 2219.9885, 1552.2485, 1004.7188 }, { 2205.5302, 1580.3706, 999.9785 }, { 2187.1303, 1591.5382, 999.9782 }, { 2175.5495, 1577.6177, 999.9683 }, { 2177.8242, 1601.6416, 999.9774 } } addEventHandler( "onPlayerWasted", getRootElement( ), function() local azar = math.random ( #posiciones ) setTimer( spawnPlayer, 2000, 1, source, unpack ( posiciones [ azar ] )) end ) function consoleSetPlayerPosition ( thePlayer ) local azar = math.random ( #posiciones ) setElementInterior ( thePlayer, 1 ) setElementPosition ( thePlayer, unpack ( posiciones [ azar ] ) ) end addCommandHandler ( "setpos" , consoleSetPlayerPosition ) Al Respawn Hay Que Ponerle La Id Del Interior Pero No Se Como Hacer.. Como Lo Hago?
  20. Puse Lo Que Vos Me Diste Pero No Funciona.. Cuando Muero NO Vuelve Al ZonaDm.. ¿Cual Es El Problema? ¿Esta Mal La Funcion?
  21. lo cambie pero no pasa nada.. Lo Que Yo Quiero Es Que Cuando Lo Matan Vuelva A Respawnear En El Mismo Lugar ZonaDm. Como Lo Puedo Hacer?
  22. Lo Hise Asi: local posiciones = { { 2170.3459, 1611.5499, 999.9727 }, { 2193.1315, 1625.0666, 999.9719 }, { 2199.9279, 1608.9176, 999.9716 }, { 2225.5649, 1620.4234, 999.9655 }, { 2229.4406, 1597.1533, 999.968 }, { 2229.7163, 1574.3369, 999.9692 }, { 2219.9885, 1552.2485, 1004.7188 }, { 2205.5302, 1580.3706, 999.9785 }, { 2187.1303, 1591.5382, 999.9782 }, { 2175.5495, 1577.6177, 999.9683 }, { 2177.8242, 1601.6416, 999.9774 } } addEventHandler( "onPlayerWasted", getRootElement( ), function() setTimer( spawnPlayer, 2000, 1, thePlayer, posiciones ) end ) function consoleSetPlayerPosition ( thePlayer ) local azar = math.random ( #posiciones ) setElementInterior ( thePlayer, 1 ) setElementPosition ( thePlayer, unpack ( posiciones [ azar ] ) ) end addCommandHandler ( "setpos" , consoleSetPlayerPosition ) Pero Me Parece Ami Esta Mal.. "addEventHandler" Lo Que Estoy Haciendo Es El Respawn.. Osea Que Cuando Muere Vuelva Al Mismo Lucar Con Las "Posiciones" Que Estan Hay.. Como Hago?
  23. Ya Esta.. Ahora Como Hago Para Que Cuando cuando lo matan respawn en el mismo dm.. y lo que no queran jugar mas al dm poner un cmd para /salirdm?
  24. te agradeseria si me ayudarias.. Mira: function consoleSetPlayerPosition ( source, commandName, posX, posY, posZ ) setElementPosition ( source, 2386.4592,1032.8708,10.5474 ) end addCommandHandler ( "setpos", consoleSetPlayerPosition ) Y Quiero Poner Vario Teleport y se telestrasporte al azar.
×
×
  • Create New...