command /shop:
function BlocksPq(p: player):
open virtual chest inventory with size 5 named "Blocks" to {_p}
format gui slot 10 of {_p} with stone named "Stone $500"
format gui slot 11 of {_p} with stone bricks named "Stone bricks $500"
format gui slot 12 of {_p} with chiseled stone bricks named "Chiseled Stone bricks $500"
format gui slot 44 of {_p} with spectral arrow named "§2Next Page" to run:
BlocksP2({_p})
function BlocksPw(p: player):
open virtual chest inventory with size 5 named "Blocks pg:2" to {_p}
format gui slot 36 of {_p} with arrow named "§2Previous Page" to run:
BlocksP1({_p})
trigger:
open virtual chest inventory with size 3 named "Shop" to player
format gui slot 11 of player with stone named "blocks" to run:
BlocksP1(player)
[doublepost=1610339051,1610339001][/doublepost]I'm trying to make a shop with a next / prev page.
function BlocksPq(p: player):
open virtual chest inventory with size 5 named "Blocks" to {_p}
format gui slot 10 of {_p} with stone named "Stone $500"
format gui slot 11 of {_p} with stone bricks named "Stone bricks $500"
format gui slot 12 of {_p} with chiseled stone bricks named "Chiseled Stone bricks $500"
format gui slot 44 of {_p} with spectral arrow named "§2Next Page" to run:
BlocksP2({_p})
function BlocksPw(p: player):
open virtual chest inventory with size 5 named "Blocks pg:2" to {_p}
format gui slot 36 of {_p} with arrow named "§2Previous Page" to run:
BlocksP1({_p})
trigger:
open virtual chest inventory with size 3 named "Shop" to player
format gui slot 11 of player with stone named "blocks" to run:
BlocksP1(player)
[doublepost=1610339051,1610339001][/doublepost]I'm trying to make a shop with a next / prev page.