#multiple requirements js

1 messages · Page 1 of 1 (latest)

violet totem
#

Hello, I have a question, I am creating a menu where you can buy permissions, ranks, articles and other server functions. I want to know if it is possible to create multiple requirements for the "system" to verify, for example. in the menu i'm doing i need to check if the player's level in a job is > 5 and if the total level in all jobs is > 10, i already have a requirement which is for the cost per item, but it's possible to create another within it?

I'm sorry, I don't speak English, 😛

graceful barn
#

Don't use javascript requirements for things like this %jobsr_user_points% >= 1200.0, the overheat created by the javascript requirement is not worth. There's types for what you want to achieve.

type: '>='
input: "%jobsr_user_points%"
output: 1200```
#

For multiple requirements you just add another underneath the first one

#
requirements:
  first_requirement:
    # options here
  second_requirement:
    # options here```
violet totem
#

ohhhh, thanks so much!