Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /frakcevinice:
- trigger:
- open virtual chest inventory with size 1 named "&c&lFrakcni menu vinice" to player
- format gui slot 0 of player with gold ingot named "&6&lFrakcni penize - &a%{economy::balance::policedep}%$"
- format gui slot 4 of player with tripwire hook named "&c&lxxx"
- format gui slot 8 of player with book and quill named "&2&lManagment zamestnancu"
- on inventory click:
- if clicked inventory isn't player's inventory:
- if inventory name of player's current inventory is "&c&lFrakcni menu vinice":
- clicked slot = 0:
- open virtual chest inventory with size 1 named "&c&lVinice - Penize" to player
- format gui slot 3 of player with gold ingot named "&c&lVybrat penize"
- format gui slot 8 of player with gold ingot named "&c&lVlozit penize"
- on inventory click:
- if clicked inventory isn't player's inventory:
- if inventory name of player's current inventory is "&c&lVinice - Penize":
- clicked slot = 3:
- send "&c&lVINICE &7Napis do chatu castku, kterou chces vybrat"
- close player's inventory
- set {vinice::player} to true
- wait 4 second
- add {vinice::player::%player's uuid%} to {economy::balance::policedep}
- on chat:
- if {vinice::player::%player's uuid%} is true:
- set {vinice::player::%player's uuid%} to message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement