Lang
Greetings,
I have a question. Can language files be reloaded during the game and take an effect immediately? Thank you. |
Re: Lang
As far as i know the moment u launch ur server/game the lang files will be read and will be stored in memory they wont be read again if u change something unless u change map. I might be wrong but this is what i know
|
Re: Lang
Tried with register_lang
It works. |
Re: Lang
When did you call it? Usually that is called in plugin_init() which only runs at the beginnig of the map when the plugin is loaded.
|
Re: Lang
Quote:
It works like a charm. |
Re: Lang
I don't know if this will work, but it would refresh your lang file every 20.0 seconds:
PHP Code:
|
| All times are GMT -4. The time now is 17:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.