Cadburry ScriptsCadburry Scripts

Scenes

Quality of life scripts for your FiveM server. Performance optimized resources that install in minutes, with free updates and support that actually answers.

config/scenes.lua

lua
Config = Config or {}

---Character selection backdrops, a random enabled scene is picked whenever the menu opens
---Build new scenes in game with /scenebuilder (admin only) and paste the exported block here.
Config.Scenes = {
    ['del_perro_beach'] = {
        label = 'Del Perro Beach',
        enabled = true,
        pedHiddenCoords = vector3(-1129.33, -1719.57, 5.34),
        pedCoords = {
            [1] = {
                coords = vector4(-1134.18, -1718.51, 5.34, 31.6),
                camCoords = {fov = 100.0, yRot = 5.337374275882212e-8, z = 5.8254861831665, y = -1716.9300537109376, x = -1135.3203125, zRot = 216.29922485351563, xRot = 358.7401566505432},
                animDict = 'missstrip_club_lean',
                animName = 'player_lean_rail_loop'
            },
            [2] = {
                coords = vector4(-1135.37, -1710.17, 5.09, 166.49),
                camCoords = {fov = 54.0, x = -1134.5860595703126, y = -1712.7166748046876, z = 5.34861755371093, xRot = 354.1732277870178, yRot = 0.0, zRot = 17.87401390075683},
                animDict = 'amb@medic@standing@kneel@idle_a',
                animName = 'idle_a'
            },
            [3] = {
                coords = vector4(-1139.9, -1718.82, 5.15, 349.67),
                camCoords = {fov = 63.0, x = -1139.589111328125, y = -1716.76123046875, z = 5.27931594848632, xRot = 358.0314954519272, yRot = 0.0, zRot = 168.18898010253907},
                animDict = 'timetable@ron@ig_5_p3',
                animName = 'ig_5_p3_base'
            },
            [4] = {
                coords = vector4(-1144.6, -1701.13, 5.09, 210.15),
                camCoords = {fov = 75.0, x = -1143.5499267578126, y = -1702.5540771484376, z = 5.71140241622924, xRot = 357.87401604652407, yRot = 0.0, zRot = 35.9055061340332},
                animDict = 'anim@amb@nightclub@djs@dixon@',
                animName = 'dixn_idle_cntr_a_dix'
            },
            [5] = {
                coords = vector4(-1131.02, -1695.66, 4.37, 170.57),
                camCoords = {fov = 61.0, x = -1130.4423828125, y = -1698.349609375, z = 4.67614841461181, xRot = 352.9921259880066, yRot = 0.0, zRot = 9.21259689331054},
                animDict = 'timetable@ron@ig_3_couch',
                animName = 'base'
            },
            [6] = {
                coords = vector4(-1128.16, -1709.17, 5.08, 170.4),
                camCoords = {fov = 64.0, x = -1127.794189453125, y = -1711.318115234375, z = 5.31772136688232, xRot = 357.79527592658999, yRot = 0.0, zRot = 7.5590534210205},
                animDict = 'timetable@ron@ig_3_couch',
                animName = 'base'
            },
            [7] = {
                coords = vector4(-1130.3, -1702.76, 4.7, 272.38),
                camCoords = {fov = 62.0, x = -1130.90283203125, y = -1700.3837890625, z = 4.85343551635742, xRot = 339.29133796691897, yRot = 0.0, zRot = 191.18112182617188},
                animDict = 'amb@world_human_sunbathe@male@back@base',
                animName = 'base'
            },
            [8] = {
                coords = vector4(-1157.82, -1711.78, 4.5, 267.43),
                camCoords = {fov = 28.0, x = -1152.30712890625, y = -1711.3243408203126, z = 5.63320732116699, xRot = 356.0629916191101, yRot = 0.0, zRot = 93.62203979492188},
            },
        },
        camCoords = {
            starting = {fov = 100.0, yRot = 359.99999978556516, z = 6.98386240005493, y = -1709.220458984375, x = -1143.519287109375, zRot = 226.4567108154297, xRot = 354.48818826675417},
            ending = { fov = 100.0, yRot = 5.337374275882212e-8, z = 5.8254861831665, y = -1716.9300537109376, x = -1135.3203125, zRot = 216.29922485351563, xRot = 358.7401566505432 }
        },
    },

    ['del_perro_pier'] = {
        label = 'Del Perro Pier',
        enabled = false,
        pedHiddenCoords = vector3(-1814.36, -1216.16, 23.97),
        pedCoords = {
            [1] = {
                coords = vector4(-1850.88, -1249.77, 8.62, 143.4),
                camCoords = {fov = 56.0, x = -1853.1958, y = -1252.8243, z = 9.356, xRot = 352.8687, yRot = 0.0, zRot = 319.5143},
                animDict = 'missstrip_club_lean', animName = 'player_lean_rail_loop',
            },
            [2] = {
                coords = vector4(-1839.76, -1184.89, 25.24, 239.3),
                camCoords = {fov = 58.0, x = -1841.415, y = -1184.0614, z = 27.9409, xRot = 302.8968, yRot = 0.0, zRot = 238.3396},
                animDict = 'amb@world_human_sunbathe@male@back@base', animName = 'base',
            },
        },
        camCoords = {
            starting = {fov = 50.0, x = -1875.2178, y = -1279.7965, z = 50.0771, xRot = 348.3708, yRot = 0.0, zRot = 126.5041},
            ending = {fov = 50.0, x = -1874.6446, y = -1270.3193, z = 32.8688, xRot = 1.4103, yRot = 0.0, zRot = 319.0164},
        },
    },
}
Last updated Cadburry Scripts