Skip to main content

GET_TRAIN_PLAYER_WOULD_ENTER

Game.GetTrainPlayerWouldEnterHash0x30481141
Usage
local trainIndex = Game.GetTrainPlayerWouldEnter(playerIndex)

Gets the train the player would like to enter.

Parameters

  • playerIndexintegerint

Returns

  • trainIndexintegerint*
Original declaration
// 0x30481141
void GET_TRAIN_PLAYER_WOULD_ENTER(int playerIndex, int* trainIndex);