Christmas Decorations

How to add christmas decorations

Adding a Christmas Tree

To add a christmas tree in casino, open file /rcore_casino/xmas/xmas_sv.lua, and add this piece of code for spawning a christmas tree:

table.insert(XMAS_TREES, {
    map = 1, -- the map it should be for
    position = vector3(944.8862, 48.21997, 79.9), -- position of the tree
    heading = 40.0, -- heading of the tree
    rewardMin = 100, -- min. amount
    rewardMax = 1000, -- max amount
    rewardChooseFrom = {"casino_chips", "casino_beer"}, -- choose reward randomly from these inventory items
    cooldown = (60 * 60 * 24) -- 24 hours cooldown
})

Remember to set option Xmas = true in config.lua in order to see christmas trees

Last updated

Was this helpful?