LOCALIZATION_GET_SYSTEM_LANGUAGE
Returns the index of the language configured on the system or platform.
Signature
int LOCALIZATION_GET_SYSTEM_LANGUAGE(); // 0x3C1A05F86AE6ACB5 b1207Parameters
This native takes no parameters.
Facts
| Name | LOCALIZATION_GET_SYSTEM_LANGUAGE |
|---|---|
| Hash | 0x3C1A05F86AE6ACB5 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x3C1A05F86AE6ACB5, -- LOCALIZATION_GET_SYSTEM_LANGUAGE
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x3C1A05F86AE6ACB5", // LOCALIZATION_GET_SYSTEM_LANGUAGE
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x3C1A05F86AE6ACB5); // LOCALIZATION_GET_SYSTEM_LANGUAGERelated LOCALIZATION natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.