PhantomDamn Posted February 25, 2013 Share Posted February 25, 2013 hola, espero esten bien... queria saber si podia hacer quitar el pestañeo que hace la pantalla cuando seleccion un team al otro miren ejemplo "Policia SF" friendlyfire="false" > "Police get paid to kill wanted players, even more to arrest! Use your nitestick to arrest, then take them back to the PD to get paid! Type /wanted to see the wanted list." /> "0" green="0" blue="205" /> "Gang Member" id="281" > "-1775.15588" y="997.9237" z="24.734375" rot="91.98" /> "3" ammo="1" /> "22" ammo="133" /> "25" ammo="99" /> "-1248" y="625" z="136" /> "-1599" y="747" z="24.734375" rot=" 79" /> "FBI SF" friendlyfire="false" > "Police get paid to kill wanted players, even more to arrest! Use your nitestick to arrest, then take them back to the PD to get paid! Type /wanted to see the wanted list." /> "0" green="0" blue="130" /> "Gang Member" id="286" > "-1620.2633056641" y="691.822" z="7.1875" rot="91.98" /> "3" ammo="1" /> "22" ammo="133" /> "25" ammo="99" /> "-1248" y="625" z="136" /> "-1599" y="747" z="24.734375" rot=" 79" /> ambos team tienes la misma pero si selecciono uno y luego el otro la pantalla pestañea y no quiero que haga eso... si se puede evitar esto? Link to comment
Castillo Posted February 25, 2013 Share Posted February 25, 2013 Supongo que decis que se pone en negro y luego vuelve, eso lo editas en el script. Link to comment
PhantomDamn Posted February 26, 2013 Author Share Posted February 26, 2013 c_gui function classSelected ( ) selectedRow = gridList:SelectedItem( ); if selectedRow ~= -1 then local data = split( gridList:ItemData( selectedRow, 1 ), string.byte(',') ); local classIndex = tonumber( data[ 1 ] ); local skinIndex = tonumber( data[ 2 ] ); local class = classGroups[ selectedGroup + 1 ].classes[ classIndex ]; local skin = classGroups[ selectedGroup + 1 ].classes[ classIndex ].skinMngr.skins[ skinIndex ]; enableSpawn( false ); if previousClass ~= classIndex then resizeWeaponsWnd( class.weaponMngr ); fadeCamera( false ); --setTimer( fadeCamera, 1000, 1 ); setTimer( moveCameraTo, 1000, 1, class, skin ); pense que 1000, 1) era el tiempo delpestañeo pero no me resulto Link to comment
Alexs Posted February 26, 2013 Share Posted February 26, 2013 Intentaste borrar la función de la linea 12? fadeCamera( false ); Link to comment
PhantomDamn Posted February 27, 2013 Author Share Posted February 27, 2013 si me sirvio gracias (y) Link to comment
Recommended Posts