Jump to content

AlvareZ_

Members
  • Posts

    611
  • Joined

  • Last visited

Everything posted by AlvareZ_

  1. Ah ok, Muchas Gracias
  2. Mi duda es la siguiente, Como puedo crear con guiCreateEdit que pongas un numero de skin y luego darle a un boton que diga Poner, yo se todo lo de el boton y eso pero mi duda es como poner para que sea el skin de el numero que pongas
  3. Aqui tienes uno creado por @pakito123, anteriormente en el Foro: local spawnV = { { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 } } local spawnL = { { 1922.7138671875, -2300.3759765625, 13.546875 }, { 2708.5712890625, -1740, 42.133285522461 }, { 1140, -1474.28515625, 15.796875 } } local spawnF = { { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 }, { 255.52216, 255.324234, 0 } } addEventHandler( "onPlayerWasted", getRootElement(), function() local x, y, z = getElementPosition ( source ) local city = getZoneName ( x, y, z, true ) if city == "Las Venturas" then setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnV[ math.random ( #spawnV ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) elseif city == "San Fierro" then setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnF[ math.random ( #spawnF ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) elseif city == "Los Santos" then setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnL[ math.random ( #spawnL ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) else setTimer( spawnPlayer, 2000, 1, source, unpack ( spawnL[ math.random ( #spawnL ) ] ) ) fadeCamera (source, true) setCameraTarget (source, source) end end )
  4. Se le abre alguna puerta ?
  5. Bueno intenta esto, y dime que pasa: local andromeda = createVehicle (592, 1539.3833007813, 1318.9182128906, 15.579751014709, 0, 0, 360) function puerta() setVehicleDoorState ( andromeda , 1, 4 ) end addEventHandler("onResourceStart", getRootElement(), puerta)
  6. Hola Chaz, Bueno lo que te recomiendo es lo siguente, Si se te es necesario el F1 del GM 'play' Copea todo ese script eh realiza uno nuevo luego usa: spawnPlayer onPlayerLogin Para cuando logea spawnee, se te es mas facil, eso creo Yo.
  7. La verdad no lo entendí mucho pero al parecer es algo así: [2013-04-22 02:48:22] WARNING: spawnn/c_main.lua(Linea 164) [Client] setPedFrozen fue desaprobado y puede que no funcione en las futuras versiones. Porfavor replasarlo con setElementFrozen. [2013-04-22 02:48:22] Algunos archivos de el recurso 'spawnn' usan funciones Desaprobadas. [2013-04-22 02:48:22] Usa el comando 'upgrade' Para realizar las actualizaciones básicas de los recursos.
  8. Hmm, No por que? mas bien la mayoría de los servers Host no muestran la IP en el mtaserver.conf
  9. Simplemente ponlo así: function deleteAllPlayerBlips(player) local elements = getAttachedElements(player) if (elements) then for i, element in ipairs(elements) do if (getElementType(element) == "blip") then destroyElement(element) end end end end
  10. Simplemente ponlo así: function deleteAllPlayerBlips(player) local elements = getAttachedElements(player) if (elements) then for i, element in ipairs(elements) do if (getElementType(element) == "blip") then destroyElement(element) end end end end
  11. function spawnOnJoin() spawnPlayer(source, joinX, joinY, joinZ, 0 , joinSkin) fadeCamera(source, true) setCameraTarget(source, source) giveWeapon(source, joinWeapon, joinAmmo) givePlayerMoney(source, joinMoney) end addEventHandler ( "onPlayerLogin", getRootElement(), spawnOnJoin )
  12. Usando el gui editor y creando cualquier cosa en el lugar. Bueno así lo uso yo cuando es imagen
  13. AlvareZ_

    dx_hud

    En el c_main.lua esta esta parte: allHUDElements = { "ammo", "area_name", "armour", "breath", "clock", "health", "money", "radar", "vehicle_name", "weapon", } Tiene que quedar: allHUDElements = { "area_name", "radar", "vehicle_name", }
  14. Good Job, But its BIG GUI O,o
  15. AlvareZ_

    dx_hud

    Tambien Fran pero si usa el spawn de 50p, El mismo Spawn crea los Hud Por eso le pregunto
  16. AlvareZ_

    Clan - Team

    Se refiere a unir un panel de Clan con el Set Team que trae el admin
  17. Es una coordenada incorrecta en el spawn_localitations.xml, Que al player entrar a el team que causa el error se reinicia solo
  18. AlvareZ_

    dx_hud

    Usas el spawn de 50p ?
  19. Creo que te falta el getRootElement triggerClientEvent ( player, "Panel", getRootElement(), player)
  20. Si a scale te refieres con ColShape: https://community.multitheftauto.com/index.php?p=resources&s=details&id=3804
  21. AlvareZ_

    dx_hud

    Si serverside a todas estas te ando ?
×
×
  • Create New...