origin is a
float[3] array, not a
float. A
float[3] is another name for a mathematical vector.
If you're meaning to access the first index of the array, use
origin[0]. If your intent is to dump all three floats, you'll have to use
origin[0],
origin[1], and
origin[2].
ReplyToCommand takes a format
specifier string, so you can use
"%f %f %f" and pass in each float in the array at the end like so:
Code:
ReplyToCommand(client, "%f %f %f", origin[0], origin[1], origin[2]);
__________________