_0x1180A2974D251B7B
Returns p1 for 0xBA958F68031DDBFC (stationIndex) _GET_N* (NEAREST_STATION_FOR_TRAIN?)
Hash
0x1180A2974D251B7BRuntime name
N_0x1180a2974d251b7bNamespaceVEHICLE
SideClient
NameHash only
Docs
Since build1207
Signature
int _0x1180A2974D251B7B(Vehicle train);Parameters
| Name | Type | Description |
|---|---|---|
train | Vehicle | — |
Returns int
Description
Returns p1 for 0xBA958F68031DDBFC (stationIndex)
_GET_N* (NEAREST_STATION_FOR_TRAIN?)
Usage
local retval = N_0x1180a2974d251b7b(train)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1180A2974D251B7B, train, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0x1180a2974d251b7b(train);
// by hash
const retval = Citizen.invokeNative('0x1180A2974D251B7B', train, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x1180A2974D251B7B, train);- This native has no known name, so the runtime exposes it only as
N_0x1180a2974d251b7b(if present in the client snapshot).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.