#DeluxeMenu multiples view_requirement
1 messages · Page 1 of 1 (latest)
left_click_requirement:
requirements:
pede money:
type: has money
amount: 50000.0
pede cash:
type: '>='
input: '%ypoints_points%'
output: '5'
pede voto:
type: '>='
input: '%pinataparty_votes_total%'
output: '5'
both works
if it doenst work, try this
requirements:
pede money:
type: has money
amount: 50000.0
pede cash:
type: ">="
input: "%ypoints_points%"
output: 5
pede voto:
type: ">="
input: "%pinataparty_votes_total%"
output: 5```
So does it need these three requirements to be able to update the correct menu?
I need him to have 50k money
5 votes
5 cash to go to the next menu
I will share the gui I made with you
yes
if you put the minimum_requirement there, then you only need to match that number of min. requirements
for example lets say minimum_requirement: 2
this will make sure the player matches any two requirements out of three
seems like an incomplete menu, consider sharing your whole menu config using helpchat paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
oK
https://paste.helpch.at/okofehadeg.vbnet @thorny tangle
left_click_requirement:
requirements:
has_money:
type: has money
amount: 50000
has_cash:
type: ">="
input: "%ypoints_points%"
output: 5
has_vote:
type: ">="
input: "%pinataparty_votes_total%"
output: 5
deny_commands:
- '[close]'
- '[message] &6&l[!] &fYou don''t have &a50000$ &fto buy the upgrade!'
- '[console] tm message -fadein=0 -fadeout=2 -stay=60 -silent %player_name%
&cError!\n &fYou don''t have enough money!'