Mixters Posted February 9, 2013 Posted February 9, 2013 Hola, Como podria poner un marker y que el sonido del Stream se scuche allí mismo? Lo que quiero decir, es como pegar la musica al marker con AttachElements? Algun ejemplo pls ?
Alexs Posted February 9, 2013 Posted February 9, 2013 This is not compatible with all elements. The following elements are compatible: Markers Blips Objects Players Vehicles Sounds Colshapes Es posible sin problemas. Ejemplo de la wiki: function tankHat ( commandName ) local x, y, z = getElementPosition ( source ) --Get the players position local tank = createVehicle ( 432, x, y, z + 5 ) --Create a tank attachElements ( tank, source, 0, 0, 5 ) --Attach the tank to the player. end addCommandHandler( "hat", tankHat )
Mixters Posted February 10, 2013 Author Posted February 10, 2013 (edited) no me sirvio, eso ya lo he visto. pero igual gracias Edited April 23, 2013 by Guest
JuanM27 Posted February 10, 2013 Posted February 10, 2013 , veo que sabes como copiar y pegar, no me sirvio, eso ya lo he visto. que fea la actitud. encima que que te respondes le contesta asi? bue cada 1 con su tema, y yo agrego que alex sabe mucho no solo copiar y pagar, es uno de los que ayuda en el foro
Alexs Posted February 10, 2013 Posted February 10, 2013 El ejemplo de la wiki es bastante completo como para entender como attachear un sound3D a un marker, si no lo puedes entender, te dejo unos tutoriales: http://lua-users.org/wiki/TutorialDirectory http://nixstaller.sourceforge.net/manua ... ler_9.html http://www.lua.org/pil/index.html
Mixters Posted February 11, 2013 Author Posted February 11, 2013 Bueno, Disculpame alex, esque tenia el dia estresado.. y queria saber como era con un TriggerEvent y como se aria..
Recommended Posts