09.12.2010, 14:08
Quote:
Actually I used it in format() and that's where it doesn't work. That SendClientMessage() was a random make-up - didn't test in it, but I guess there is no difference!?
|
format() was coded to be capable for handling percentages for variables, whereas I don't believe that SendClientMessage() was, it just handles the data its given, and format compiles a string with the strings (if any) and text to send as a client message when used together.
format accepts %% insert a literal percentage, so SendClientMessage() would not (at least I think...) as it's just expecting a string with normal data to parse.
I don't quite understand why % wouldn't work in a SendClientMessage() execution though, if ^ is correct.