Simonboy Posted September 23, 2012 Share Posted September 23, 2012 No me agarra por favor si me podrian decir el error. quiero que el comando se active al logearse el player. function comandologin () addEventHandler("onPlayerLogin",root,function() addCommandHandler("skin",comandologin) end ) Link to comment
Castillo Posted September 23, 2012 Share Posted September 23, 2012 Se active o se ejecute como si pusiera "/skin"? Link to comment
Castillo Posted September 23, 2012 Share Posted September 23, 2012 Se active o se ejecute como si pusiera "/skin"? Link to comment
Simonboy Posted September 23, 2012 Author Share Posted September 23, 2012 Se ejecute al logearse el player. solidsnake pero no me agarra automaticamente sin que el player lo tenga que escribirlo Link to comment
Castillo Posted September 23, 2012 Share Posted September 23, 2012 addEventHandler ( "onPlayerLogin", root, function ( ) executeCommandHandler ( "skin", source ) end ) Tendras que darle permisos en el ACL para poder usar la funcion: executeCommandHandler. Link to comment
Recommended Posts