Skip to main content

Player::setEnableScuba

Client-side function

When enabled, will change the style of your swimming when underwater.

NOTE: This does not apply any scuba gear. This must be done using the appropriate functions.

Syntax​

player.setEnableScuba(toggle);

Required Arguments​

  • toggle: Boolean

Example​

Client-Side

mp.players.local.setEnableScuba(true);