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.allowVehicle
  • 🚦 cfg.maxSpeedVehicle
  • 🛣️ cfg.camLocations
  • ⏲️ cfg.utc
  1. Scripts doc's
  2. Facial Recognition
  3. General config

Miscellaneous

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

🚗 cfg.allowVehicle

Allow the script to detect researched players that are in a vehicle.

cfg.allowVehicle = true

🚦 cfg.maxSpeedVehicle

Set the speed (in m/s) where the camera can't recognize the wanted player anymore. (84 m/s is roughly equal to 300kph)

cfg.maxSpeedVehicle = 84

🛣️ cfg.camLocations

This table will contain all the configs you need to have your cameras ready to scan people faces !

A camera config will look like this :

cfg.camLocations = {
    {
        model = 'prop_cctv_cam_05a', 
        pos = vector3(-1453.1483154296875,-769.0479736328125,16.0924072265625), 
        rot = vector3(0,0,-82.65670013427734), 
        isGivingClue = true, 
        recognitionRange = 80.0,
    },
    [...]
}

Let's dive into this :

  1. model = 'prop_cctv_cam_05a' is the camera model you want to use for the script to spawn.

  2. pos = vector3(-1453.14, -769.04, 16.09) is the position vector of the camera

  3. rot = vector3(0,0,-82.65670013427734) is the rotation vector of the camera

As a reminder : x = left/right | y = front/back | z = up/down

To place your objects more simply, use the built-in command '/camPreview' which will create a config for you in your clipboard from your placement in the game.

  1. isGivingClue = true, if this config is set to false, the camera will recognize the player but won't let it know it. Otherwise, the player will be able to know that he had been recognised

  2. recognitionRange = 80.0, this is the distance in meters the camera can detect you


⏲️ cfg.utc

Sets the UTC offset for your server, this will modify the time on the cameras screenshots. 1 = UTC+1, 2 = UTC+2 ...

cfg.utc = 1
PreviousFrameworksNextErrors and Troubleshooting

Last updated 4 months ago

📔
📹
🛠️
⚙️