IS_STADIA_VERSION
Returns true when running on Google Stadia.
Signature
BOOL IS_STADIA_VERSION(); // 0x268AB8420A9E4ED7 b1207Parameters
This native takes no parameters.
Facts
| Name | IS_STADIA_VERSION |
|---|---|
| Hash | 0x268AB8420A9E4ED7 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x268AB8420A9E4ED7) -- IS_STADIA_VERSION
if result then
-- ...
endconst result = Citizen.invokeNative("0x268AB8420A9E4ED7", // IS_STADIA_VERSION
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x268AB8420A9E4ED7); // IS_STADIA_VERSIONRelated MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.