I use skript Area Manager. But me needed set {zPOS1} and {zPOS2} need to specify the coordinates x,y,z
It is necessary for the action:
but set not gived needed results...
PLZ help!
code_language.skript:
#EVENT
on left click:
if player's tool is diamond hoe named "&f[&bArea Manager&f]":
cancel event
set {zPOS1} to location of clicked block
send "&bPos1:&f %{zPOS1}%" to player
stop
on right click:
if player's tool is diamond hoe named "&f[&bArea Manager&f]":
cancel event
set {zPOS2} to location of clicked block
send "&bPos2:&f %{zPOS2}%" to player
stop
code_language.skript:
on death:
if name of victim is "&6Skeleton King":
broadcast "+"
set {x.cord} to victim's x-coordinate
set {y.cord} to victim's y-coordinate
set {z.cord} to victim's z-coordinate
broadcast "%{x.cord}%,%{y.cord}%,%{z.cord}%"
set {zPOS1} to location ({x.cord},{y.cord},{z.cord})
set {zPOS2} to location ({x.cord},{y.cord},{z.cord})
broadcast "%{zPOS1}%,%{zPOS2}%"
but set not gived needed results...
Code:
[19:05:27 INFO]: +
[19:05:27 INFO]: 40.57,195,189.12
[19:05:27 INFO]: x: -0.5, y: 69.5, z: -1.5,x: 14.5, y: 67.5, z: -16.5 >
PLZ help!
Last edited: