Arsilex Posted August 27, 2012 Posted August 27, 2012 (edited) Como esconder el radar????? showPlayerHudComponent ( source, "all", false ) no me sirve showPlayerHudComponent ( source, "radar", false ) tampoco Edited August 27, 2012 by Guest
Alexs Posted August 27, 2012 Posted August 27, 2012 Como esconder el radar????? showPlayerHudComponent ( source, "all", false )no me sirve showPlayerHudComponent ( source, "radar", false ) tampoco Lo pusiste client o server?
Alexs Posted August 27, 2012 Posted August 27, 2012 Server Side. veo que usaste 'source', que evento usaste?
Arsilex Posted August 27, 2012 Author Posted August 27, 2012 function hudChanger () showPlayerHudComponent ( source, "all", false ) end addEventHandler ( "onPlayerJoin", getRootElement(), hudChanger )
Alexs Posted August 27, 2012 Posted August 27, 2012 Intenta pasarlo a Client: function hudChanger () showPlayerHudComponent ( "all", false ) end addEventHandler ( "onClientPlayerJoin", getRootElement(), hudChanger)
Arsilex Posted August 27, 2012 Author Posted August 27, 2012 nada el radar sigue PD: SOlo me desarecio cuando alguen entro
Alexs Posted August 27, 2012 Posted August 27, 2012 nada el radar sigue PD: SOlo me desarecio cuando alguen entro Obvio, eso debe hacer, cambialo por onClientPlayerSpawn y sera mas útil.
Arsilex Posted August 27, 2012 Author Posted August 27, 2012 nada no me sirve ahora use onClientResourceStart pero cuando yo reconnecto el radar vuelva a aprecer y todo lo demas no por que es?
Alexs Posted August 27, 2012 Posted August 27, 2012 nada no me sirve ahora use onClientResourceStart pero cuando yo reconnecto el radar vuelva a aprecer y todo lo demas no por que es? Ya recordé, el Paradise incluye para quitarlo y re agregarlo al spawnear.
Castillo Posted August 28, 2012 Posted August 28, 2012 Intenta pasarlo a Client: function hudChanger () showPlayerHudComponent ( "all", false ) end addEventHandler ( "onClientPlayerJoin", getRootElement(), hudChanger) Ese evento se ejecuta cuando un jugador remote se une ( no el cliente ).
Recommended Posts