xXMADEXx Posted April 27, 2013 Share Posted April 27, 2013 hello guys, i got this code: :gsub('#%x%x%x%x%x%x","") but, i don't know what "#%x%x%x%x%x%x" means. Is there somewhere i can find how to write one of those? Thanks ~xXMADEXx Link to comment
iPrestege Posted April 27, 2013 Share Posted April 27, 2013 Read this page : string.gsub < > Link to comment
xXMADEXx Posted April 27, 2013 Author Share Posted April 27, 2013 Read this page : string.gsub < > Thanks Link to comment
xXMADEXx Posted April 28, 2013 Author Share Posted April 28, 2013 Read this page : string.gsub < > It helped, but is there anywhere else that you know where i could get some information about it? Link to comment
DNL291 Posted April 28, 2013 Share Posted April 28, 2013 http://lua-users.org/wiki/StringLibraryTutorial "#%x%x%x%x%x%x" Represents a hexadecimal color. getPlayerName(thePlayer):gsub("#%x%x%x%x%x%x","") It is equivalent to: string.gsub(getPlayerName(thePlayer), "#%x%x%x%x%x%x", "") Link to comment
xXMADEXx Posted April 28, 2013 Author Share Posted April 28, 2013 http://lua-users.org/wiki/StringLibraryTutorial"#%x%x%x%x%x%x" Represents a hexadecimal color. getPlayerName(thePlayer):gsub("#%x%x%x%x%x%x","") It is equivalent to: string.gsub(getPlayerName(thePlayer), "#%x%x%x%x%x%x", "") Thank you guys, for helping Link to comment
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