When I did AMX plugins I used a const that was a default, something like MAX_TEXT_LENGTH, or something to that affect. Reson I ask is because I do not know what the max length is and it is screwing up my plugin.
It works with
Code:
new message[2001]
add(message, 2000, "blah")
add(message, 2000, "more blah")
It doesn't work with
Code:
new message[4000]
add(message, 3999, "blah")
add(message, 3999, "more blah")
Error was something about a stack error. When I made the changes above it would do that. the 2000 working and the 4000 not[/code]