dthxxx666 Posted October 20, 2018 Share Posted October 20, 2018 Hola , estaba intentando ocultar un radar cuadrado que puse , ocultarlo con un comando aca les muestro el script para ocultar : function hide(source) if showChat(true) then showChat(false) setPlayerHudComponentVisible("all",false) end end addCommandHandler("hud0",hide) function unhide(source) if showChat(false) then showChat(true) setPlayerHudComponentVisible("all",true) end end addCommandHandler("hud1",unhide) Ahora lo que quiero es poder ocultar ese otro radar tambien , pero no se como , ayuda por favorsito Link to comment
dthxxx666 Posted October 21, 2018 Author Share Posted October 21, 2018 nadie? ni una pequeña pista nada? Link to comment
Peti Posted January 25, 2019 Share Posted January 25, 2019 On 21/10/2018 at 16:28, dthxxx666 said: nadie? ni una pequeña pista nada? Espero no llegar muuuy tarde: showPlayerHudComponent ( 'radar', false ); Client-side. 1 Link to comment
Alexs Posted January 25, 2019 Share Posted January 25, 2019 7 hours ago, Peti said: Espero no llegar muuuy tarde: showPlayerHudComponent ( 'radar', false ); Client-side. Esa función está obsoleta, por lo que es preferible sugerir setPlayerHudComponentVisible. setPlayerHudComponentVisible ( 'radar', false ) 1 Link to comment
Peti Posted January 25, 2019 Share Posted January 25, 2019 8 minutes ago, Alexs said: setPlayerHudComponentVisible ( 'radar', false ) Mi error! Gracias! 1 Link to comment
#DeltaSCR Posted March 24, 2019 Share Posted March 24, 2019 Hola @dthxxx666, por lo que he entendido usted quiere ocultar un radar modificado, para eso, el setPlayerHudComponentVisible es inútil, entonces usted debe abrir el archivo de su radar, crear una función quitando el evento de su Radar Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now