Version de Minecraft : 1.12.2 Version de Skript : 2.5.3
Addons utilisés:Tuske
Type du skript : GUI vente items
Description du script :
Bonjour tout le mondes !
Je souhaite faire un skript gui de vente d'items . Je rencontre un soucis avec l'affichage des items : sugar cane / nether wart , ils ne s'affichent pas dans mon gui comme sur les screens .
Je ne comprends pas d'où ça peut provenir, si quelqu'un a une idée je suis preneur.
Merci d'avance !
command /shop:
trigger:
open virtual chest inventory with size 3 named "FarmSell" to player
format gui slot 0and2and4and6and8and10and12and14and16and18and20and22and24and26 of player with a yellow stained glass pane named " " to do nothing
format gui slot 1and3and5and7and9and11and15and17and19and21and23and25 of player with a gray stained glass pane named " " to do nothing
format gui slot 10 of player with a stone named "Farm Cultures" to run function farmcultures(player)
format gui slot 13 of player with a stone named " " to run function farmsell(player)#format gui slot 7 of player with stone named "It will run the function doSomething()" to run function doSomething()
function farmsell(p: player):#TuSKe will run this function even if it was loaded after the command above. Need 1.7.2+ for it.
open virtual chest inventory with size 6 named "FarmSell" to {_p}
format gui slot 0and2and4and6and8and18and26and36and44and46and48and50and52 of {_p}with a yellow stained glass pane named " " to do nothing
format gui slot 1and3and5and7and9and17and27and35and45and47and49and51and53 of {_p}with a gray stained glass pane named " " to do nothing
function farmcultures(p: player):#TuSKe will run this function even if it was loaded after the command above. Need 1.7.2+ for it.
open virtual chest inventory with size 6 named "FarmCultures" to {_p}
format gui slot 0and2and4and6and8and18and26and36and44and46and48and50and52 of {_p}with a yellow stained glass pane named " " to do nothing
format gui slot 1and3and5and7and9and17and27and35and45and47and49and51and53 of {_p}with a gray stained glass pane named " " to do nothing
format gui slot 10 of {_p}with a apple with lore "&7&ovendre &a&o1 &7&opour &a&o100$" to run:
add 100 to balance of player
remove 1 apple from player's inventory
format gui slot 11 of {_p} with a melon slice with lore "&7&ovendre &a&o1 &7&opour &a&o100$" to run:
add 100 to balance of player
remove 1 apple from player's inventory
format gui slot 12 of {_p}with a carrot with lore "&7&ovendre &a&o1 &7&opour &a&o100$" to run:
add 100 to balance of player
remove 1 apple from player's inventory
format gui slot 13 of {_p} with a potato with lore "&7&ovendre &a&o1 &7&opour &a&o100$" to run:
add 100 to balance of player
remove 1 apple from player's inventory
format gui slot 14 of {_p}with a beetroot with lore "&7&ovendre &a&o1 &7&opour &a&o100$" to run:
add 100 to balance of player
remove 1 apple from player's inventory
format gui slot 15 of {_p} with a sugar cane with lore "&7&ovendre &a&o1 &7&opour &a&o100$" to run:
add 100 to balance of player
remove 1 apple from player's inventory
format gui slot 16 of {_p}with a nether wart with lore "&7&ovendre &a&o1 &7&opour &a&o100$" to run:
add 100 to balance of player
remove 1 apple from player's inventory
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
multisport69
Version de Minecraft : 1.12.2
Version de Skript : 2.5.3
Addons utilisés: Tuske
Type du skript : GUI vente items
Description du script :
Bonjour tout le mondes !
Je souhaite faire un skript gui de vente d'items . Je rencontre un soucis avec l'affichage des items : sugar cane / nether wart , ils ne s'affichent pas dans mon gui comme sur les screens .
Je ne comprends pas d'où ça peut provenir, si quelqu'un a une idée je suis preneur.
Merci d'avance !
3 réponses à cette question
Messages recommandés