docs: update ngdredemption
This commit is contained in:
parent
8838893392
commit
44fff1e011
@ -2,7 +2,7 @@
|
|||||||
title: ngd-redemption
|
title: ngd-redemption
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2025-01-28T04:18:05.443Z
|
date: 2025-01-28T05:02:41.893Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2025-01-28T00:30:34.910Z
|
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:**
|
- **There are several variables to the packages you can choose from:**
|
||||||
|
|
||||||
-- `Type =` (You can use 'item', 'vehicle' or 'other')
|
-- `Type =` (You can use 'item', 'vehicle' or 'other')
|
||||||
-- `Label =` (This is what is show in-game)
|
-- `Label =` (This is what is show in-game)
|
||||||
-- `Item =` (This is the item given to players if the Type = 'item')
|
-- `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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user