0 Hashway Posté(e) le 19 juin 2016 Auteur Posté(e) le 19 juin 2016 function openMenu2(p: player): wait 2 ticks open chest with 1 rows named "Test" to {_p} wait 1 tick format slot 0 of player with dirt named "Test" to close then run [openMenu({_p})] function openMenu(p: player): wait 2 ticks open chest with 1 rows named "Test" to {_p} wait 1 tick format slot 0 of player with stone named "Test" to close then run [openMenu2({_p})] command /test: trigger: openMenu(player) Ça met "The function openMenu(player) does not exist"
0 Rednathan Posté(e) le 19 juin 2016 Posté(e) le 19 juin 2016 Car tu as oublie les % function openMenu2(p: player): wait 2 ticks open chest with 1 rows named "Test" to {_p} wait 1 tick format slot 0 of player with dirt named "Test" to close then run [openMenu(%{_p}%)] function openMenu(p: player): wait 2 ticks open chest with 1 rows named "Test" to {_p} wait 1 tick format slot 0 of player with stone named "Test" to close then run [openMenu2(%{_p}%)] command /test: trigger: openMenu(%player%)
Question
Hashway
Tout est dit dans le titre c:
3 réponses à cette question
Messages recommandés