Skip to main content

SET_PLAYER_MAY_ONLY_ENTER_THIS_VEHICLE

Game.SetPlayerMayOnlyEnterThisVehicleHash0x6BC05942
Usage
Game.SetPlayerMayOnlyEnterThisVehicle(playerIndex, carIndex)

Set the player can only enter this vehicle, set to null if you want them to enter any vehicle.

Parameters

  • playerIndexintegerint
  • carIndexintegerint

Returns

Nothing

Original declaration
// 0x6BC05942
void SET_PLAYER_MAY_ONLY_ENTER_THIS_VEHICLE(int playerIndex, int carIndex);