Bonjour j'aimerais faire un serveur altis life avec skript et mod et donc j'aimerais quand on clique pour appeler la policer ou l'ambulance ... sa nous donnes les cordonnés du joueurs j'ai le code du skript la ou je ve le faire :
command /abcdefg:
trigger:
open chest with 3 rows named "&c&lTéléphone" to player
wait 3 ticks
format slot 0 of player with black stained glass named " " to close
format slot 1 of player with black stained glass named " " to close
format slot 2 of player with black stained glass named " " to close
format slot 4 of player with black stained glass named " " to close
format slot 6 of player with black stained glass named " " to close
format slot 7 of player with black stained glass named " " to close
format slot 8 of player with black stained glass named " " to close
format slot 3 of player with 4211 named "&b&lMenu Policier" to run [make player execute command "/police"]
format slot 5 of player with 5333 named "&c&lMenu Rebelle" to run [make player execute command "/rebelle"]
format slot 26 of player with 397:3 named "&8&lMon Profile" to close
format slot 18 of player with black stained glass named " " to close
format slot 19 of player with black stained glass named " " to close
format slot 20 of player with black stained glass named " " to close
format slot 22 of player with 5133 named "&e&lAppeler Un Taxi" to run [make console execute command "/broadcast %player% a demandé un taxi au cordonné suivant : "
format slot 24 of player with black stained glass named " " to close
format slot 25 of player with black stained glass named " " to close
format slot 21 of player with 5113 named "&9&lAppeler La Police" to close
format slot 21 of player with 5112 named "&9&lAppeler Un Médecin" to close
command /police:
permission: open.police
permission message: &c&lVous n'êtes pas policier !
trigger:
open chest with 3 rows named "&b&lMenu Policier" to player
wait 3 ticks