How to set items?

So I gave myself a casino token, in vRP, which wasn’t in my inventory or anytrhing like that

Hey!
You need to setup the item first of all. Just follow the next steps.

  1. Get in the following folder: (...)\resources\vrp\cfg
  2. Open items.lua
  3. Add your item to cfg.items, something like this ["item_spawn_name"] = {"item_display_name", "item_desc",nil,item_weight},
Example

["casino_chip"] = {"Chip", "A Chip from the Casino.",nil,0.1},

You should now be ready to go! Hope this helps you, if you get any other question about vRP framework feel free to ask.

Also, there are being released some casino games, keep watching for them :stuck_out_tongue:

There’s a recent Blackjack script that I use on my server and it’s purely awesome. If you want, check it out:

1 Like