⚙️Prop Setup Guide
🎄 Risk XMAS Event — Prop Setup Guide
If you want to use the same gift crate prop from the showcase video, you can download it here:
Prop (Forum Link): https://forum.cfx.re/t/prop-free-christmas-present-crate/5289306 Full credits go to the creator and original uploader.
Direct Download: https://forum.cfx.re/uploads/short-url/ubmU0PKnciLdKJlh7WJIXzylzSE.zip
📦 Installation
1) Extract the ZIP
Fully extract the downloaded ZIP so you can access the content folders.
2) Export the required files
Open each folder and drag the listed file to your desktop:
stream/[ydr]
jrbXMAS_Present_Crate.ydr
stream/[ytd]
jrbXMAS_Present_Crate_txd.ytd
stream/[ytyp]
jrbXMAS_Present_Crate.ytyp
After this, you should have three files on your Desktop.
3) Move files into the script
Place all three files inside the empty stream folder of the resource risk-xmasevent.
🔧 Config Setup
Open config.lua, locate:
RISK.Box = {Then set the prop model like this:
propModel = "jrbXMAS_Present_Crate"💡 To use your own custom prop model later, simply replace the value with your model name.
📜 Replace your fxmanifest.lua
fxmanifest.luaReplace your existing fxmanifest.lua with the following:
fx_version 'adamant'
lua54 'yes'
game 'gta5'
description 'risk-scripts.tebex.io'
ui_page 'html/index.html'
files {
'html/**/**.*',
'stream/jrbXMAS_Present_Crate.ytyp'
}
data_file 'DLC_ITYP_REQUEST' 'stream/jrbXMAS_Present_Crate.ytyp'
shared_scripts {
'config.lua'
}
client_scripts {
'main/client.lua'
}
server_scripts {
'main/server.lua'
}
escrow_ignore {
'config.lua'
}🔄 Final Step
Restart your server to apply the changes.
You now successfully use the same prop displayed in the showcase. To switch to a custom prop later, edit:
propModel = "YOUR_PROP_NAME"🎁 Enjoy the Event!
Have fun and happy holidays with Risk Scripts.
Last updated