HEX
HexscriptsClassicWarehouse

Configurations

Here you will get all configurations & open source files that are included within this script.

Open Source Files

HEX = {
    Language = "de",
    ResellPercentage = 0.75, -- when selling a warehouse, player will get 75% of buyprice (default)
    -- UseCustomHelpNotify = function(message)
    -- if you want to use a custom help notify, add your function in here and uncomment it
    -- end,
    Marker = {
        Color = {255, 10, 10, 100},
        Types = {
            OpenWarehouseInv = 21,
            ExitWarehouse = 21,
            ManageWarehouse = 21
        }
    },
    CustomWeight = {
        ['WEAPON_PISTOL'] = 10,
        ['water'] = 5
    },
    Locations = {
        {
            Name = "city_1",
            Label = "Stadt",
            Coords = vector3(823.6151, -994.9549, 26.2926),
            InteriorCoords = vector3(178.8932, -1005.6417, -99.0000),
            InventoryCoords = vector3(170.4883, -1002.6598, -99.0000),
            Blip = {
                Sprite = 478,
                Display = 4,
                Scale = 0.8,
                Color = 1,
                ShortRange = true,
                Enable = true
            },
            Storages = {
                {
                    Price = 10000,
                    Weight = 128,
                    Image = "https://corleone.vip/hexscripts/storage/storage.png",
                },
                {
                    Price = 25000,
                    Weight = 256,
                    Image = "https://corleone.vip/hexscripts/storage/storage.png",
                },
                {
                    Price = 50000,
                    Weight = 512,
                    Image = "https://corleone.vip/hexscripts/storage/storage.png",
                }
            },
        },
    },
    Languages = {
        de = {
            EnterHelpMsg = "Drücke ~INPUT_CONTEXT~ um das Lagerhaus anzusehen",
            BoughtWarehouse = "Du hast dir ein Lagerhaus bei %s mit %skg Lagerplatz für %s$ gekauft.",
            NotEnoughMoney = "Du hast nicht genug Geld.",
            EnteredWarehouse = "Du hast das Lagerhaus %s betreten.",
            WrongPassword = "Das Passwort ist falsch oder es gibt kein Lager mit dieser ID",
            WarehouseBlip = "Lagerhaus",
            Error = "Es ist ein Fehler aufgetreten.",
            NotEnoughItems = "Du hast nicht genug von diesem Item.",
            RemovedItem = "Du hast %s %sx entfernt.",
            AddedItem = "Du hast %s %sx hinzugefügt.",
            ExitedWarehouse = "Du hast das Lagerhaus verlassen.",
            ChangedPassword = "Du hast das Passwort geändert.",
            AccessWarehouseHelpMsg = "Drücke ~INPUT_CONTEXT~ um das Lagerhaus zu anzusehen",
            ExitWarehouseHelpMsg = "Drücke ~INPUT_CONTEXT~ um das Lagerhaus zu verlassen",
            SoldWarehouse = "Du hast das Lagerhaus für %s$ verkauft.",
            NotEnoughSpaceInYourInv = "Du hast nicht genug Platz in deinem Inventar.",
            NotEnoughSpaceInWarehouse = "Es ist nicht genug Platz im Lagerhaus.",
            Webhook_Stored_Title = "%s legt Sachen in das Lagerhaus %s",
            Webhook_Stored = "%sx %s wurde in das Lagerhaus gelegt",
            Webhook_Withdrawn_Title = "%s nimmt Sachen aus dem Lagerhaus %s",
            Webhook_Withdrawn = "%sx %s wurde aus dem Lagerhaus genommen",
            Webhook_Sold_Title = "%s hat das Lagerhaus %s verkauft",
            Webhook_Sold = "Das Lagerhaus wurde für %s$ verkauft",
            Webhook_Bought_Title = "%s hat das Lagerhaus %s mit %skg Kapazität gekauft",
            Webhook_Bought = "Das Lagerhaus wurde für %s$ gekauft",
            Webhook_ChangedPassword_Title = "%s hat das Passwort des Lagerhauses %s geändert",
            Webhook_ChangedPassword = "Das neue Passwort lautet: %s",
            Webhook_Enter_Title = "%s betritt das Lagerhaus %s",
            Webhook_Enter = "Der Spieler hat das Lagerhaus betreten",
            Webhook_Leave_Title = "%s verlässt das Lagerhaus %s",
            Webhook_Leave = "Der Spieler hat das Lagerhaus verlassen",
            AlreadyHaveWeapon = "Du hast diese Waffe bereits.",
        },
        en = {
            EnterHelpMsg = "Press ~INPUT_CONTEXT~ to view the warehouse",
            BoughtWarehouse = "You bought a warehouse at %s with %skg storage for %s$.",
            NotEnoughMoney = "You don't have enough money.",
            EnteredWarehouse = "You entered the warehouse %s.",
            WrongPassword = "The password is wrong or there is no warehouse with this ID",
            WarehouseBlip = "Warehouse",
            Error = "An error occurred.",
            NotEnoughItems = "You don't have enough of this item.",
            RemovedItem = "You removed %s x%s.",
            AddedItem = "You added %s x%s.",
            ExitedWarehouse = "You left the warehouse.",
            ChangedPassword = "You changed the password.",
            AccessWarehouseHelpMsg = "Press ~INPUT_CONTEXT~ to access the warehouse",
            ExitWarehouseHelpMsg = "Press ~INPUT_CONTEXT~ to exit the warehouse",
            SoldWarehouse = "You sold the warehouse for %s$.",
            NotEnoughSpaceInYourInv = "You don't have enough space in your inventory.",
            NotEnoughSpaceInWarehouse = "There is not enough space in the warehouse.",
            Webhook_Stored_Title = "%s stores stuff in the warehouse %s",
            Webhook_Stored = "%sx %s was stored in the warehouse",
            Webhook_Withdrawn_Title = "%s withdraws stuff from the warehouse %s",
            Webhook_Withdrawn = "%sx %s was withdrawn from the warehouse",
            Webhook_Sold_Title = "%s sold the warehouse %s",
            Webhook_Sold = "The warehouse was sold for %s$",
            Webhook_Bought_Title = "%s bought the warehouse %s with %skg capacity",
            Webhook_Bought = "The warehouse was bought for %s$",
            Webhook_ChangedPassword_Title = "%s changed the password of the warehouse %s",
            Webhook_ChangedPassword = "The new password is: %s",
            Webhook_Enter_Title = "%s enters the warehouse %s",
            Webhook_Enter = "The player entered the warehouse",
            Webhook_Leave_Title = "%s leaves the warehouse %s",
            Webhook_Leave = "The player left the warehouse",
            AlreadyHaveWeapon = "You already have this weapon.",
        }
    }
}

On this page