I’ve just finished part of my project and I thought this part might be of interest to you. It’s a simple player grouping system.
Features
- Create a temporary group with no person limit
- Differentiation between leader and member blips (Sprite and color can be modified in Config.lua)
- Blips attached to player entities = no jerks on minimap
- Comment to help you to use it for your own scripts
- Vorp Core
Use
- Enter the command /inviteGroup [CHAR_ID and NOT YOU] to invite a player. You become the group leader.
- As group leader, you can use /removeGroup [CHAR_ID and NOT YOU] to remove a player from your group and /deleteGroup to delete the group.
- If a player disconnects from the server or crashes, the ‘vorp:playerDropped’ event handler removes the player from the group. If the player is the group leader, or the group contains only one member, the group is deleted.
Todo List
- Add an invitation confirmation system with notifications.
- Create an optional menu (enabled in config) with the list of connected players to replace current commands.
- Add a configurable limit to group size
Need Help?
I sincerely hope that this guide has clarified any issues you may have had about but if any of the steps weren’t apparent to you, you can find a more thorough explanation of each one by using the bottom menu on this page (or the bottom of the contact if you’re on it).If you want any good scripts for this fivem, then you can visit this Qbcore shop
Reviews
There are no reviews yet.