Signature
native LookupLangKey(Output[], OutputSize, const Key[], const &id);
Description
Looks up the translation of the key for the given type.
Notes
-
This does NOT format the output text! For example, if the key
contains %s, the outputted text will also contain %s.
- LANG_PLAYER is invalid in this, use a player index or LANG_SERVER.
Parameters
- Output — Buffer to store the output in
- OutputSize — Maximum buffer size
- Key — Language key
- id — Client index or LANG_SERVER
Returns
1 on success, 0 otherwise