10.06.2011, 08:51
You replied just before I got the chance to :c
but I'll still post this:
Check SA-MP Limits
As you can see the max string size is 1024 characters.
I don't really understand why you're concatenating 4 strings into one when you could just use one string. format takes time. Time your server may need. Sure, it's negligible for one command use but if the command was called a couple of thousand times it's an entirely different ball game.
Glad to see you've figured it out, however, hope all goes well.
but I'll still post this:
Quote:
I placed this code in OnPlayerCommand and i honestly have no idea what the problem is, has the size of string changed recently possibly or something?
|
As you can see the max string size is 1024 characters.
I don't really understand why you're concatenating 4 strings into one when you could just use one string. format takes time. Time your server may need. Sure, it's negligible for one command use but if the command was called a couple of thousand times it's an entirely different ball game.
Glad to see you've figured it out, however, hope all goes well.