Multi language in plugin
Hello! I want sma contain two or more languages through a set menu (this is not done multilingual.sma amxmodx plugin).
The difficulty we face is that they do not know how to set a cvar person (1 or 2 menu language). Menu language: Code:
public LANGUAGE(id, menu, item)Code:
switch(get_cvar_num("cvar_language")) |
Re: Multi language in plugin
There is no cvar on the client for this. The built in multilingual system is highly recommended. Also, anything other than that will likely be to agonizing to make so just assume that it will never happen. This is my opinion.
|
Re: Multi language in plugin
i'd also reccomend built in system, but if you really want your own "multilingual system" for some reason then you could use set info command on client to set their language and get_user_info to check what language to print (dont think thats considered slowhacking since amxx uses that method for multilingual system)
|
| All times are GMT -4. The time now is 08:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.