okay, my problem is that i have a string that contains a null character and amx thinks its the end of the line.
how could i split the text to get rest of the data?
here's an example script:
Code:
public test() {
new text[10]
format(text,9, "abc")
setc(text[3],1, 0x00)
format(text[4],9, "def")
client_print(0,print_chat, "Lenght: %d, String: %s", strlen(text), text)
}
the response is of course:
Code:
Lenght: 3, String: abc
any ideas?
__________________