Jump to content
  • 0

Can't set string values to be less or higher then original length


flossing

Question

Hi,

I'm testing some stuff in a game and I'll present some examples.

 

For example, I have this text "gun1" and that's 4 characters long.

I am able to replace that text with another 4 character long text called "gun2"

But when I try to replace it with a text that's lower or higher than 4 characters, it just breaks.

 

Is there anyway around this?

Thank you.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.