JesusAliso Posted February 6, 2013 Posted February 6, 2013 Hola como puedo hacer un comando por decir: " /reglas " con el script outputChatBox que al momento de escribir /reglas, salga la nota. script*
Castillo Posted February 6, 2013 Posted February 6, 2013 addCommandHandler outputChatBox San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
JesusAliso Posted February 6, 2013 Author Posted February 6, 2013 HEHEH ;D Estoy aprendiendo addCommandHandler ("reglas", function (reglas) outputChatBox ( "#ff0000 Reglas:No Cheat,No Hack o cualquier tipo de Hacker", 255 ,0 ,0 , true ) end ) Que dices? PD: No entiendo por que cuando escribo /reglas "sale #ff0000" lo puse para que saliera en rojo pero sale blanco.
Castillo Posted February 6, 2013 Posted February 6, 2013 Eso es porque te olvidaste de definir el argumento "visibleTo" en outputChatBox. addCommandHandler ( "reglas", function ( thePlayer ) outputChatBox ( "#ff0000 Reglas:No Cheat, No Hack o cualquier tipo de Hacker", thePlayer, 255, 0, 0, true ) end ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
JesusAliso Posted February 6, 2013 Author Posted February 6, 2013 Osea que el que escriba /reglas Ara que se les muestre a Todos?
Castillo Posted February 6, 2013 Posted February 6, 2013 Si, exacto, ahi te lo arregle igual. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted February 6, 2013 Posted February 6, 2013 De nada. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts