Thread: File Errors Fix
View Single Post
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 07-08-2013 , 01:18   Re: [ANY] File Errors Fix
Reply With Quote #9

Quote:
Originally Posted by RedSword View Post
You're using %t for the Format function. This is wrong, as the first occurrence (line 55) could be written in another language.

When using PrintToChat, you are setting a global variable where the client is stored. %t uses that client. The one on line 55 might be different.

More info : http://wiki.alliedmods.net/Translati...ge_in_a_Plugin

And same thing @ FCVAR_REPLICATED
I use SetGlobalTransTarget() followed by %t formating for translations as I do in https://forums.alliedmods.net/showthread.php?p=1825772. I just simply forgot to use them. If that doesn't work then let me know, however I do believe Dr. McKay gave me the OK to do it this way.
ReFlexPoison is offline