Jump to content

String.gsub Trouble


Klesh

Recommended Posts

Hello, im make my killmessages in hexadecimal color but the problem is the space beetwen name and weapon image, i was looking and testing codes and i found something, this is the cause of why that space

myText2 = string.gsub(myText, "#%x%x%x%x%x%x", "") 

There is some way to delete that space?

32851573.png

Link to comment

are you using killmessages export ?

i remember that is possible to set the space (width) between the name and the weapon image

Example

exports.killmessages:outputMessage ({"Player1",{"padding",width=5},{"icon",id=31},{"padding",width=5},{"color",r=255,g=255,b=10},"Player2" },root,255,0,0) 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...