NodZen Posted June 14, 2012 Posted June 14, 2012 Hola amigos , quiero saber si se puede poner un gif en un server. Intente pasar un gif a formato .png pero no funciona. Es posible poner un gif? algo asi como un showImage. Gracias ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Alexs Posted June 14, 2012 Posted June 14, 2012 guiCreateStaticImage pero no se si acepta .GIF en sus extensiones Developer @ MYVAL
NodZen Posted June 14, 2012 Author Posted June 14, 2012 guiCreateStaticImage pero no se si acepta .GIF en sus extensiones Ya intentè eso , pero no funciona. ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Alexs Posted June 14, 2012 Posted June 14, 2012 Que no funciona?? Poste tu script o simplemente, no se puede con archivos .Gif Developer @ MYVAL
NodZen Posted June 14, 2012 Author Posted June 14, 2012 Que no funciona?? Poste tu script o simplemente, no se puede con archivos .Gif El script uso de la wiki. ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
iFoReX Posted June 14, 2012 Posted June 14, 2012 no se pueden poner gifs en mta elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
BorderLine Posted June 15, 2012 Posted June 15, 2012 debes desintegrar la imagen gif con cada una de sus imagenes. Y debes hacer el codigo para que muestre una imagen tras de otra fijate el video en el logo biohazard suerte Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
iFoReX Posted June 15, 2012 Posted June 15, 2012 #OT: Buen Logo yakusa , hay algun programa para descomprimir gifs en imagenes ? elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
BorderLine Posted June 15, 2012 Posted June 15, 2012 http://www.puntogeek.com/2009/03/06/com ... f-animado/ frame extractor kreo ke se llama Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
Castillo Posted June 15, 2012 Posted June 15, 2012 Yo habia creado una funcion para simular un .gif, aca les dejo el codigo: local gifs = { } local gifTimers = { } function dxDrawGifImage ( x, y, w, h, name, cStart, cEnd, cCurrent, iType, timerSpeed ) local i = ( #gifs + 1 ) gifs [ i ] = { x, y, w, h, name, cStart, cEnd, cCurrent, iType } gifTimers [ i ] = setTimer ( function ( ) gifs [ i ] [ 8 ] = ( gifs [ i ] [ 8 ] + 1 ) if ( gifs [ i ][ 8 ] >= gifs [ i ] [ 7 ] ) then gifs [ i ] [ 8 ] = gifs [ i ] [ 6 ] end end ,timerSpeed or 150, 0 ) return i end function dxGifDestroy ( index ) gifs [ index ] = nil end addEventHandler ( "onClientRender", root, function ( ) for index, gif in ipairs ( gifs ) do dxDrawImage ( gif [ 1 ], gif [ 2 ], gif [ 3 ], gif [ 4 ], "images/".. gif [ 5 ] .."".. gif [ 8 ] ..".".. gif [ 9 ] ) end end ) dxDrawGifImage ( 769, 175, 193, 145, "flag_arg", 0, 3, 0, "png", 150 ) dxDrawGifImage ( 769, 305, 193, 145, "flag_usa", 0, 3, 0, "png", 150 ) Lo hice hace meses y asi rapido, asi que puede que no funcione bien . San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
iFoReX Posted June 15, 2012 Posted June 15, 2012 WoW solid alta funcion , la usare para un logo elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Castillo Posted June 18, 2012 Posted June 18, 2012 Como estaba aburrido, me decidi a crear de nuevo mi funcion: dxDrawGifImage y la perfeccioné bastante, la pueden encontrar en el siguiente link: https://wiki.multitheftauto.com/wiki/DxDrawGifImage San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
iFoReX Posted June 18, 2012 Posted June 18, 2012 Solid pero esa funcion sirve digamos poner una imagen .gif, o es para poner imagenes .png ? elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Castillo Posted June 18, 2012 Posted June 18, 2012 Los .gif no estan soportados en MTA, son para sprites, osea varias imagenes. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
iFoReX Posted June 18, 2012 Posted June 18, 2012 aah Ok, otra cosa, cuando pongo una imagen .png en MTA con fondo blanco , ( para que este transparente el fondo ), el fondo no es transparente es blanco, como podria solucionar esto ? elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Castillo Posted June 18, 2012 Posted June 18, 2012 Conseguite el PaintNet y edita la imagen, eso es lo que yo hago. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts