⚙️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

Last updated