Jump to content

Bad Argument #1 to 'gsub'


..:D&G:..

Recommended Posts

Posted

mapName2 isn't a string. Which means the problem lies outside of the code you posted. Whatever mapName is it's not a string, and hence mapName2 isn't either.

350x20_FFFFFF_FFFFFF_000000_000000.png

350x20_FFFFFF_FFFFFF_000000_000000.png

350x20_FFFFFF_FFFFFF_000000_000000.png

Posted

Can't assist you if you don't supply us with enough code to help you. As Driggero said, it's not a string. If you're trying to store the name inside "mapName", it's most likely failing and returning false. Thus, the boolean.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

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...