Author Topic: Two questions - Making a shop and JVS content  (Read 783 times)

Hello, I'm making an rp and I need some help.

To start off, I need help making a shop. I am using an RP core with cashmod II (I prefer it over moneymod), and I know I need to use teh scripting thing (can't remember the name of it atm), but I don't know what I'm suppose to script, even after reading the guide. I would appreciate if someone here would tell me what I need to script, along with an example :D

Secondly, I know what JVS content is, and recently I got a new computer and had to re-download all the add-ons I could. Ever since I started downloading stuff for RP, the JVS content is just... gone. Poof. Maybe because it doesn't have any room for it's own tab? How can I get it back?

Thanks for taking the time to respond and help, if you do. ;D

1: Its VCE, It may have something to do with having a certain amount of money required to buy something....  ...

2: When in the Bricks menu press Tab afew times. When the on-screen tabs are full you cannot see others.
Or you may have to un-zip the file (if downloaded via forums)

1: Its VCE
That's not what he asked for
(Unless it is, and OP thinks that VCE is scripting. Which it isn't.)

2: When in the Bricks menu press Tab afew times. When the on-screen tabs are full you cannot see others.
There's also a client-side add-on somewhere that helps with this, it adds little arrow buttons

Or you may have to un-zip the file (if downloaded via forums)
no no no no no no no no no

But has anyone here made a shop before, and could give me the scripting for it?

But has anyone here made a shop before, and could give me the scripting for it?
shop making uses VCE (events) not scripting

But has anyone here made a shop before, and could give me the scripting for it?
Use moneymod and VCE.
PM ottosan about it.

If you want to make Shops only out of VCE, do this:

Click on brick, get money
Code: [Select]
onActivate -> Self -> dissapear
onActivate -> Player -> VCE_Variable -> [money] add [1]

Buy item on shop
Code: [Select]
onActivate -> Player -> VCE_RetroCheck -> [var:pl:money] [>=] [10] [1 3]
onVariableTrue -> Player -> addItem -> Gun
onVariableTrue -> Player -> VCE_Variable -> [money] add [-10]
onVariableFalse -> Client -> CenterPrint -> [You don't have enough money.]

Yesss thank you JPSC. Sorry if I was confused and thought I needed to script or whatever, but now I understand how to make a shop.

Thank you all who posted.