Hey,
so i ran into an issue while using the every 1 tick event. This is my code:
The idea is, that every tick the skript checks if the player is located on the exact spot {%loop-player%::lockloc}
But this is the error:
Thanks for helping me
so i ran into an issue while using the every 1 tick event. This is my code:
Code:
every 1 tick:
loop all players:
if {%loop-player%::frzd} = 1:
if location of player is not {%loop-player%::lockloc}:
teleport player to {%loop-player%::lockloc}
The idea is, that every tick the skript checks if the player is located on the exact spot {%loop-player%::lockloc}
But this is the error:
Code:
[09:27:01 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (atsec.sk, line 37: if location of player is not {%loop-player%::lockloc}:')
Thanks for helping me