Future Studios
  • Future Studios
  • Store
  • Discord
  • Youtube
  • Our Resources
    • 🚁Drone System
      • Installation
      • Configuration
      • Integration
      • FAQ
    • 🔨Fun Punishment System
      • Installation
      • Configuration
      • FAQ
    • 🏍️Bike Stunts
      • Installation
      • Configuration
    • 🐟Animal Swim
      • Installation
      • Configuration
Powered by GitBook
On this page
  1. Our Resources
  2. Animal Swim

Configuration

This page explains all available configuration options for the resource, allowing you to customize its behavior, features, and framework compatibility.

config.lua
Config = {
    swimmingAnimals = {
        [`a_c_chop`] = {canDive = true},
        [`a_c_husky`] = {canDive = true},
    },
    divingKey = 'Z', 
    defaultCanSwim = true,
    defaultCanDive = true,
}
  • swimmingAnimals - This list defines which animal peds can swim (and dive).

  • divingKey - Determines which key is responsible for diving.

  • defaultCanSwim/defaultCanDive - The default values for whether the player can swim/dive. Used for integration purposes (i.e if the player should only get the ability to swim after reaching a certain level).

PreviousInstallation

Last updated 2 months ago

🐟