Installation

Dependencies

Resource

Install

Required

Required

Required

Asset download

  1. Download your resource from FiveM's Keymaster.

  2. Unzip zip folder and place it into your resource folder.

  3. Add ensure l2s-hotel to your server start config. Make sure to place anywhere below the framework and dependencies resources.

Items installation

["hotel_card"] = {["name"] = "hotel_card",["label"] = "Room Access",["weight"] = 5000,["type"] = "item",["image"] = "hotel_card.png",["unique"] = true,["useable"] = true,["shouldClose"] = true,["combinable"] = nil,["description"] = "Hotel Room Access"},

Go To qb-inventory/html/js/app.js and item info in FormatItemInfo function

} else if (itemData.name == "hotel_card") {
        $(".item-info-title").html('<p>Room Access</p>')
        $(".item-info-description").html('<p><strong>Room Number: </strong><span>' + itemData.info.roomnumber + '</span></p><strong>Expires: </strong><span>' + itemData.info.date + '</span></p>');

Item Image:

hotel_card.png

Finally Customize Your setting in shared/sh_config.lua

And don't forget setup webhocks in config

Last updated