ELmarcoS. Posted September 16, 2012 Share Posted September 16, 2012 Hola, Que necesito para que al entrar al servidor el jugador no pueda cambiar su skin, que se quede con uno que yo elija Link to comment
Matty Posted September 16, 2012 Share Posted September 16, 2012 setElementModel y "onPlayerJoin" Link to comment
ELmarcoS. Posted September 16, 2012 Author Share Posted September 16, 2012 No entendi como usar setElementModel, me pueden ayudar? Link to comment
Arsilex Posted September 16, 2012 Share Posted September 16, 2012 setElementModel ( thePlayer, IDDELSKIN ) Link to comment
ELmarcoS. Posted September 17, 2012 Author Share Posted September 17, 2012 function skinOnJoin( thePlayer ) setElementModel ( thePlayer, 29 ) end addEventHandler ("onPlayerJoin", getRootElement(), skinOnJoin) No me funciona ;s Link to comment
Alexs Posted September 17, 2012 Share Posted September 17, 2012 thePlayer no existe, reemplazalo por source y quitalo de los argumentos. Link to comment
Plate Posted September 17, 2012 Share Posted September 17, 2012 Cambia thePlayer por player Link to comment
Renkon Posted September 17, 2012 Share Posted September 17, 2012 function skinOnJoin( ) setElementModel ( source, 29 ) end addEventHandler ("onPlayerJoin", getRootElement(), skinOnJoin) source es el generador del evento, que, siempre, en onPlayerJoin, es el usuario que ingresa. Saludos Link to comment
Plate Posted September 19, 2012 Share Posted September 19, 2012 renkon pusistes lo mismo que dije yo Link to comment
Recommended Posts