Exports

Tutorial on how to use exports in this script

Variables:

  • Identifier - player's identifier that is used in database (users/players table)

  • Sender - name of the sender sending the package (Administrator, Farming Job, Office, etc...)

  • Reward Type - type of reward that can be sent to the parcel (money, item or vehicle)

  • Reward - type of money that is given via parcel (money, bank or black_money) or name of the item that is given or the name (model) of the vehicle

  • Reward Amount - the amount of money/items quantity/numb3er of vehicles vehicles that is given in the parcel

Export:

exports.uniq-postoffice:addParcel(identifier, sender, reward type, reward, reward amount)

Last updated