_GET_TRANSPORT_USAGE_FLAGS
Hash
0xE195C5A82156321DRuntime name
GetTransportUsageFlagsNamespaceAITRANSPORT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Any _GET_TRANSPORT_USAGE_FLAGS(Entity transportEntity, int* flags);Parameters
| Name | Type | Description |
|---|---|---|
transportEntity | Entity | — |
flags | int* | — |
Returns Any
Description
Usage
local retval, flags = GetTransportUsageFlags(transportEntity, flags)
-- always works, by hash
local retval, flags = Citizen.InvokeNative(0xE195C5A82156321D, transportEntity, Citizen.PointerValueIntInitialized(flags), Citizen.ResultAsInteger())JavaScript and C#
const [retval, flags] = GetTransportUsageFlags(transportEntity, flags);
// by hash
const [retval, flags] = Citizen.invokeNative('0xE195C5A82156321D', transportEntity, Citizen.pointerValueIntInitialized(flags), Citizen.returnResultAnyway(), Citizen.resultAsInteger());var flags = new OutputArgument();
int retval = Function.Call<int>((Hash)0xE195C5A82156321D, transportEntity, flags);
// flags.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.