AllowAds( <player ads> )


Module: Player

Summary:

Sets whether the player can switch to ADS



Call this on:

The player



Example:

level.player AllowAds( false );



Required Args:

  • 1 : <player ads>: A boolean. true if the player can switch to ADS, and false otherwise.