xTeacherx Posted May 8, 2012 Posted May 8, 2012 Hi All I wanna : change My Text By Edit Gui ! or SetTextColor If Find This
Guest Guest4401 Posted May 8, 2012 Posted May 8, 2012 Hi All I wanna : change My Text By Edit Gui ! or SetTextColor If Find This What do you mean? You want to change label color? guiLabelSetColor or the text? guiSetText
xTeacherx Posted May 8, 2012 Author Posted May 8, 2012 client : function onGuiClick (button, state, absoluteX, absoluteY) if (source == setNameColor) then red = guiGetText ( redEdit ) green = guiGetText ( greenEdit ) blue = guiGetText ( blueEdit ) triggerServerEvent ("setPlayerNameTagColor", getLocalPlayer(), red, green, blue) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) server : function nameTagColor ( red,green,blue ) setPlayerNametagColor ( source, red,green,blue ) end addEvent( "setPlayerNameTagColor", true ) addEventHandler ( "setPlayerNameTagColor", rootElement, nameTagColor) This script for change name color But i want change ( setPlayerNametagColor ) to ( TextColor )
abu5lf Posted May 8, 2012 Posted May 8, 2012 function nameTagColor ( red, green, blue ) setPlayerNametagColor ( source, red, green, blue ) end addEvent( "setPlayerNameTagColor", true ) addEventHandler ( "setPlayerNameTagColor", getRootElement(), nameTagColor)
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