You printing a string.
But as you said
Quote:
|
It SHOULD print out: Array: xxx.xx
|
I.e. you want to print numbers and char, so do that:
Code:
client_print(id,print_chat,"Array: %d%d%c%d%d",
arrayTest[0],arrayTest[1],arrayTest[2],arrayTest[3],arrayTest[4]);
Your mistake is that you thought that number == 'number'
But in fact, for example 7 != '7'.