diff --git a/ngdredemption.md b/ngdredemption.md index 4a9ef18..c370a36 100644 --- a/ngdredemption.md +++ b/ngdredemption.md @@ -2,7 +2,7 @@ title: ngd-redemption description: published: true -date: 2025-01-28T04:18:05.443Z +date: 2025-01-28T05:02:41.893Z tags: editor: markdown dateCreated: 2025-01-28T00:30:34.910Z @@ -62,6 +62,7 @@ NGDRedemption {packageId} {transaction} --- - **There are several variables to the packages you can choose from:** + -- `Type =` (You can use 'item', 'vehicle' or 'other') -- `Label =` (This is what is show in-game) -- `Item =` (This is the item given to players if the Type = 'item') @@ -70,7 +71,25 @@ NGDRedemption {packageId} {transaction} --- - +- **See example from the config below:** + -- Package `6650632` is an item that is given to players, the menu will show it as a 'A Pack of Lockpicks', and the player will be given 5 of them. + -- Package `6650679` is a vehicle, the menu will show it as 'Pagassi - Zentorno' and the spawn code is a 'zentorno' + -- The packages are defined in the config, you should make sure the package from Tebex matches. +``` +Config.Packages = { + [6650632] = { + Type = 'item', + Label = 'A Pack Of Lockpicks', + Item = 'lockpick', + Qty = 5 + }, + [6650679] = { + Type = 'vehicle', + Label = 'Pagassi - Zentorno', + Model = 'zentorno' + } +} +```