Skript version 2.5 beta 3
autor Shane Bee
server: Spigot 1.16.2
Error:
Variables cannot be used here. spawn a ("%{_pet}%" parsed as entity type) at the {_p}
autor Shane Bee
server: Spigot 1.16.2
Code:
function spawnpet(p: player, pet: string):
kill {pet::%{_p}%}
wait a tick
spawn a ("%{_pet}%" parsed as entity type) at the {_p}
Variables cannot be used here. spawn a ("%{_pet}%" parsed as entity type) at the {_p}