In Game
This section will guide you through the in-game steps needed to use the gift-wrapping system. With our script, players can create personalized gifts by wrapping items and adding custom messages to greeting cards. The process is simple but involves a few key steps, from obtaining the necessary items to delivering the wrapped gift. Whether you're gifting a special item or surprising a friend, this system enhances the roleplay experience with thoughtful touches and unique packaging.
Here’s how to use the gift-wrapping system in the game:
Steps
Obtaining the Open Box The player will need an "Open Box" item, which is used to begin the gift-wrapping process. Note: The acquisition of this item must be provided by your FiveM server, as this script does not include a shop system for purchasing items.
Positioning at the Gift Wrapping Table Once the player has the items they wish to gift, they must position themselves at a gift-wrapping table. At this location, they can click on the item to move it to the open gift box.
Inserting the Open Box into the Gift Box To trigger the greeting card section, the player will need to insert the "Open Box" into the gift box. Once this is done, they can write their personalized message on the greeting card and click the "Wrap Gift" button.
Item Removal and Gift Delivery After wrapping the gift, the items will be removed from the player's inventory, and the corresponding gift box will be delivered to the player.
Using the Gift Box The player can use the gift box to trigger an event, where they can either give the gift to a nearby player, store it, or open it themselves.
Gift Delivery Requirement In order to wrap a new gift, the player must deliver the current gift. This step ensures that the script remains independent, as no new gifts can be wrapped until the previous one has been given away.
Last updated