Raised This Month: $ Target: $400
 0% 

Multilingual file precache, its possible?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
carrasco
New Member
Join Date: Aug 2008
Location: Foz do Iguaçu - Brasil
Old 08-25-2008 , 21:17   Multilingual file precache, its possible?
Reply With Quote #1

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?

Last edited by carrasco; 08-25-2008 at 23:22.
carrasco is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 08-25-2008 , 21:20   Re: Multilingual file precache, its possible?
Reply With Quote #2

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...
__________________

anakin_cstrike is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-25-2008 , 23:38   Re: Multilingual file precache, its possible?
Reply With Quote #3

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
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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