PingouinTheDev Doc's
  • 🔐About escrow system
    • 🔑"You lack the required entitlement to use ... "
    • ❌Failed to verify protected resource
    • 🛑Error parsing script / Failed to load script
    • ↔️Transferring assets to another account
  • ⁉️FAQ
    • Do you make partnerships ?
    • Do you take customs orders ?
    • And do you send any decrypted ver...
    • Do you provide assistance / help on your scripts ?
  • 📔Scripts doc's
    • 🚑Medical Reanimation Script
      • 🛠️General config
        • 🔌Frameworks and compatibility
        • ⚙️Miscellaneous
        • 💉Medical
        • ⛔Errors and Troubleshooting
      • 📃Features and How to use
    • 😵Decapitation script
      • 🛠️General config
      • 🔀Integrate with death scripts
    • 📹Facial Recognition
      • 🛠️General config
        • 🔌Frameworks
        • ⚙️Miscellaneous
        • ⛔Errors and Troubleshooting
      • 🎛️Utils
    • ⛺Homeless tent script
      • 🛠️General config
        • 🔌Frameworks
        • ⚙️Miscellaneous
        • ⌨️Keybinds
      • 🎛️Utils
Powered by GitBook
On this page
  • ⛺cfg.allowPlayerCustomTent
  • 💬 cfg.getTentCommand
  • 🛣️ cfg.allowWaypointToTent
  • ⏲️ cfg.tentLifeTime
  • 🏕️ cfg.modelSpawnedByServer
  • ⬇️ cfg.spawnOffset
  • ↔️ cfg.scanRange
  • 🔖 cfg.drawMarker
  • 📃 cfg.tentModel
  • 🕺 cfg.animCycle
  • 🗨️ hintToDisplay(text)
  1. Scripts doc's
  2. Homeless tent script
  3. General config

Miscellaneous

This will explain the most important and features related configs of the script.

⛺cfg.allowPlayerCustomTent

Allow players to place they own tents. False if you want to deactivate.

cfg.allowPlayerCustomTent = true

💬 cfg.getTentCommand

Set the command you want to use to place a tent.

cfg.getTentCommand = "getTent"

🛣️ cfg.allowWaypointToTent

This config allow the player to set a waypoint to their placed tent when trying to place one.

cfg.allowWaypointToTent = true

⏲️ cfg.tentLifeTime

Sets the number of hours a placed tent should stay on the server. (Tents are Persistent through reboots)

cfg.tentLifeTime = 72 * (60 * 60)

Here, 72 are the number of hours the tent will stay on the server before being deleted.

(Tents are deleted upon the next reboot, not directly during uptime)


🏕️ cfg.modelSpawnedByServer

This config is useful if you use a custom prop for the tent. Its the name of the prop you want to spawn as a tent.

cfg.modelSpawnnedByServer = "prop_skid_tent_01"

⬇️ cfg.spawnOffset

This sets an offset for the z axis when spawning a tent. Change this if you change the base model of the tent.

cfg.spawnOffset = 0.38

↔️ cfg.scanRange

This is the range in meters for a tent to be seen by the script (Marker visible).

cfg.scanRange = 25.0

🔖 cfg.drawMarker

This config sets if the script should display a marker on the ground in front of the tent or not

cfg.drawMarker = true

📃 cfg.tentModel

These are the props recognised as tents for the script, the player can interact with.

cfg.tentModel = {
    "prop_skid_tent_01",
    "prop_skid_tent_03",
    "prop_skid_tent_01b",
}

🕺 cfg.animCycle

This is the table containing all the animations you can do in the tent, you can add or delete from the list.

The format should always be : {DICTIONNARY, ANIM}

cfg.animCycle = {
    {"timetable@tracy@sleep@", "idle_c"},
    {"anim@heists@fleeca_bank@ig_7_jetski_owner", "owner_idle"},
    {"amb@world_human_sit_ups@male@idle_a", "idle_a"},
}

🗨️ hintToDisplay(text)

This is the function creating the notification at the top left of the screen.

You can change its core to modify it and integrate as you need.

PreviousFrameworksNextKeybinds

Last updated 3 months ago

A list of anims can be found on this

📔
⛺
🛠️
⚙️
site