Skip to main content

GET_VEHICLE_PLAYER_WOULD_ENTER

Game.GetVehiclePlayerWouldEnterHash0x20430265
Usage
local carIndex = Game.GetVehiclePlayerWouldEnter(playerIndex)

Gets the vehicle the player would like to enter.

Parameters

  • playerIndexintegerint

Returns

  • carIndexintegerint*
Original declaration
// 0x20430265
void GET_VEHICLE_PLAYER_WOULD_ENTER(int playerIndex, int* carIndex);