A script that allows you to create NPCs and assign various functions to them.
You can create NPCs with one of the following functions:
"give" = NPC gives player items
"sell" = NPC takes items and pays amount of $ back
"exchange" = NPC takes item or money and gives money or another item back
"nointeraction" = just an NPC, you can't interact with them
------------------
If you found a bug, if you have an idea for the
next version, or if you simply need some help,
join: https://discord.gg/DUax6SsEt2
------------------
- Add
juSa_npc_rewards
to your resources folder - Add
ensure juSa_npc_rewards
to your server.cfg - Start server
you`ll need VORP-CORE. Vorp-Inventory and Vorp-API for the script to work properly
Currently this script only works with VORP.
If you want to support me, you can do this here:
https://www.buymeacoffee.com/justSalkin
V 1.5
- new Debug Feature
- give-weapons for "give" and "exchange" NPCs
- reworked Discord webhook (should now work without problems)
- cooldowns, in general or for each NPC individually
- job and -grade dependency
- talking-time (fixes the bug that players are in talk-mode indefinitely)
- internal structural changes, smoother processes, better presentation of information ingame and in Discord
V 1.4.0
- added animations and scenarios
V 1.3.0
- fixed progressbar showing befor item amount is checked
- added webhooks for single npcs
- added progressbar for single npcs
- added option to choose between right or left notify
- added more infos showing when interact with an npc and option to say yes/no to a sell or exchange
V 1.2.1
- fix exchange NPC
V 1.2.0
- added nointeraction NPC-role
V 1.1.0
- added Blips
set blip = 0 for an NPC to not display it on the map
Hope you enjoying working with the script :)