Brad96 Posted August 28, 2013 Posted August 28, 2013 (edited) how to make the chat show the color of my nick .. and all player outputChatBox ("getPlayerName(source):gsub("#%x%x%x%x%x%x","")) ?? thx Edited August 28, 2013 by Guest Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 28, 2013 Posted August 28, 2013 What? I didn't get anything of what you just said. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 how to make the chat show the color of my nick .. and all player Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 28, 2013 Posted August 28, 2013 Enable the colorCoded argument of outputChatBox, last argument. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 wiki pls Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 28, 2013 Posted August 28, 2013 What do you mean by "wiki"? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 Give me access to the wiki pls and thanks Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 28, 2013 Posted August 28, 2013 https://wiki.multitheftauto.com/wiki/OutputChatBox That? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 but this is just the color of the text r,g,b , I say the color of the tag Player Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 28, 2013 Posted August 28, 2013 Aren't you reading what I say? you must use the same function, but enable the last argument: colorCoded, set it to "true" and then it'll work. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 aah ye ye , i see sorry , tanks Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 not work function greetingCommand ( playerSource, commandName ) local r,g,b = getPlayerNametagColor (playerSource) triggerClientEvent ( "onGreeting", getRootElement(), "Hola " ..getPlayerName(playerSource),getRootElement,r,g,b,true) end addCommandHandler ("greet" , greetingCommand ) Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 28, 2013 Posted August 28, 2013 The "true" has to be on the outputChatBox, post the client side part. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 function greetingHandler ( message , r ,g ,b) outputChatBox ( "Server : " .. message , r ,g ,b) end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", getRootElement(), greetingHandler Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 28, 2013 Posted August 28, 2013 function greetingHandler ( message , r ,g ,b) outputChatBox ( "Server : " .. message, r, g, b, true ) end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", getRootElement(), greetingHandler ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 28, 2013 Author Posted August 28, 2013 thanks , i test this Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
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