Dice Game - Illegal Street Games
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | >500 |
Requirements | QBCore |
Support | Yes |
Youtube Showcase: HERE
Description
This dice game allows players to play “corner games” with one another, designed to only have the bare functionality to allow players a real roleplay with people cheating on it, or not giving the money decided before starting the game
This will give the players freedom to explore the roleplay as is in real life without any automations from the FiveM other than displaying the menus
Integration
- The system is drag & drop, without requiring aditional files or modfications
- Go to server.cfg and add “ensure RollDiceMp”
How to play
- The player who wants to initiate the game will send an invitation to the closest player using
/roll
in chat
1a. The player invited will recieve a menu asking him to accept or decline the invitation - If the invitation is accepted, the players will both get a menu to roll the dice or exit, the game can be played for as long as the players want
Backend logic
The script is based on promises, a lot of syncronizations using the server to allow for normal gameplay, the dice chance is calculated in the server to not allow modifications by other software in the client’s pc
Download & Github
RollDiceMp-main.zip (5.6 KB)