45 |
* Adds a translation. |
* Adds a translation. |
46 |
*/ |
*/ |
47 |
native AddTranslation(const lang[3], TransKey:key, const phrase[]); |
native AddTranslation(const lang[3], TransKey:key, const phrase[]); |
48 |
|
|
49 |
|
/** |
50 |
|
* Looks up the translation of the key for the given type |
51 |
|
* This does NOT format the output text. |
52 |
|
* eg: If the key includes %s, the outputted text will also contain %s. |
53 |
|
* NOTE: LANG_PLAYER is invalid in this, use a player index |
54 |
|
* or LANG_SERVER |
55 |
|
*/ |
56 |
|
native LookupLangKey(Output[], OutputSize, const Key[], const &id); |