Skip to main content

SET_PLAYER_CAN_DO_DRIVE_BY

Game.SetPlayerCanDoDriveByHash0x561471FB
Usage
Game.SetPlayerCanDoDriveBy(playerIndex, canDoDriveBy)

Sets whether the player is able to fire an uzi from a car.

Parameters

  • playerIndexintegerint
  • canDoDriveBybooleanbool

Returns

Nothing

Original declaration
// 0x561471FB
void SET_PLAYER_CAN_DO_DRIVE_BY(int playerIndex, bool canDoDriveBy);