_GET_STATION_COORDS_FROM_TRAIN_STATION_DATA
Returns Coords of vStation p0 - NET_TRAIN_MANAGER_GET_TRAIN_STATION_DATA _GET_P* - _GET_T*
Hash
0xBA958F68031DDBFCRuntime name
GetStationCoordsFromTrainStationDataNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Vector3 _GET_STATION_COORDS_FROM_TRAIN_STATION_DATA(int trackIndex, int stationIndex);Parameters
| Name | Type | Description |
|---|---|---|
trackIndex | int | — |
stationIndex | int | — |
Returns Vector3
Description
Returns Coords of vStation
p0 - NET_TRAIN_MANAGER_GET_TRAIN_STATION_DATA
_GET_P* - _GET_T*
Usage
local retval = GetStationCoordsFromTrainStationData(trackIndex, stationIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBA958F68031DDBFC, trackIndex, stationIndex, Citizen.ResultAsVector())JavaScript and C#
const retval = GetStationCoordsFromTrainStationData(trackIndex, stationIndex);
// by hash
const retval = Citizen.invokeNative('0xBA958F68031DDBFC', trackIndex, stationIndex, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0xBA958F68031DDBFC, trackIndex, stationIndex);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.