AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Multilingual file precache, its possible? (https://forums.alliedmods.net/showthread.php?t=76503)

carrasco 08-25-2008 21:17

Multilingual file precache, its possible?
 
I want to make a plugin to precache multilingual .wav files to the players, like welcome, goobye, and the players will download the sound files in their language.

Its possible to precache files according to the player language based on geoip?

Its possible to make it based on the autolang plugin or any similar?

anakin_cstrike 08-25-2008 21:20

Re: Multilingual file precache, its possible?
 
I think it's possible to check the country on connect...and make a function and set it by case (country)...and switch the case...1 - contry EN: play sound x for example...i don't know...

YamiKaitou 08-25-2008 23:38

Re: Multilingual file precache, its possible?
 
Players are not connected when plugin_precache is called. So, you would have to precache all of the sounds and force everyone to download them


All times are GMT -4. The time now is 03:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.